1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/opencart/docker-compose.yml
2019-10-27 07:52:18 +08:00

19 lines
283 B
YAML

opencart:
image: vimagick/opencart
ports:
- "8000:80"
links:
- mysql
volumes:
- /var/www
restart: always
mysql:
image: mysql
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=opencart
restart: always