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

23 lines
365 B
YAML
Raw Normal View History

2021-04-16 09:47:27 +02:00
version: "3.8"
2015-05-27 11:45:11 +02:00
2021-04-16 09:47:27 +02:00
services:
opencart:
image: vimagick/opencart
ports:
- "8000:80"
volumes:
- /var/www
depends_on:
- mysql
restart: unless-stopped
mysql:
image: mysql
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=opencart
restart: unless-stopped