Last active
January 16, 2022 20:10
-
-
Save jonpontet/f82ca436c44208a765da705921ed444c to your computer and use it in GitHub Desktop.
Docker Compose file for PrestaShop with MySQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
db: | |
build: | |
context: . | |
network: prestashop-net | |
container_name: db | |
image: mysql:5.7 | |
ports: | |
- "3307:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: admin | |
prestashop: | |
build: | |
context: . | |
network: prestashop-net | |
container_name: prestashop | |
image: prestashop/prestashop | |
environment: | |
DB_SERVER: db | |
ports: | |
- "8080:80" | |
volumes: | |
- ./modules:/var/www/html/modules | |
- ./override:/var/www/html/override | |
- ./themes:/var/www/html/themes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment