Created
February 12, 2020 23:25
-
-
Save carlessanagustin/4dbff0e59eefa505b7c2a6b98f68eb87 to your computer and use it in GitHub Desktop.
Prestashop stack with Docker Compose
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' | |
volumes: | |
db-data: | |
services: | |
app: | |
image: prestashop/prestashop:1.7 | |
environment: | |
- DB_SERVER=db | |
- DB_NAME=prestashop | |
- DB_USER=prestashop | |
- DB_PASSWD=prestashop123 | |
- DB_PREFIX=ps_ | |
ports: | |
- "8080:80/tcp" | |
db: | |
image: mysql:5.7 | |
environment: | |
- MYSQL_RANDOM_ROOT_PASSWORD=yes | |
- MYSQL_DATABASE=prestashop | |
- MYSQL_USER=prestashop | |
- MYSQL_PASSWORD=prestashop123 | |
ports: | |
- "3306:3306/tcp" | |
volumes: | |
- "db-data:/var/lib/mysql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment