Answer the question
In order to leave comments, you need to log in
How to upload your files to bitmani/opencart?
How to upload your files to bitmani/opencart?
using docker-composer if it matters
version: '2'
services:
mariadb:
image: 'bitnami/mariadb:10.3'
environment:
- MARIADB_USER=bn_opencart
- MARIADB_DATABASE=bitnami_opencart
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- 'mariadb_data:/bitnami'
opencart:
image: 'bitnami/opencart:3'
environment:
- MARIADB_HOST=mariadb
- MARIADB_PORT_NUMBER=3306
- OPENCART_DATABASE_USER=bn_opencart
- OPENCART_DATABASE_NAME=bitnami_opencart
- OPENCART_HOST=localhost
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '80:80'
- '443:443'
volumes:
- 'opencart_data:/bitnami'
depends_on:
- mariadb
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 82:80
environment:
PMA_HOST: mariadb
volumes:
mariadb_data:
driver: local
opencart_data:
driver: local
Answer the question
In order to leave comments, you need to log in
volumes:
- ./путь/откуда/берем/локально/:/путь/куда/кладем/в/контейнере/
volumes:
- ./etc/somefile.conf:/etc/somefile.conf
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question