1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00
dockerfiles/prestashop/docker-compose.yml
2019-04-07 17:18:51 +08:00

18 lines
362 B
YAML

prestashop:
image: prestashop/prestashop:1.7-7.2-apache
ports:
- "8080:80"
links:
- mysql
volumes:
- ./data:/var/www/html
restart: unless-stopped
mysql:
image: mysql:8
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=prestashop
restart: unless-stopped