1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/prestashop/docker-compose.yml
2021-04-13 15:23:19 +08:00

23 lines
418 B
YAML

version: "3.8"
services:
prestashop:
image: prestashop/prestashop:1.7-apache
ports:
- "8080:80"
volumes:
- ./data/prestashop:/var/www/html
depends_on:
- mysql
restart: unless-stopped
mysql:
image: mariadb:10
volumes:
- ./data/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=prestashop
restart: unless-stopped