Skip to content

Instantly share code, notes, and snippets.

@codemem
Forked from gladius882/docker-compose.yml
Created April 17, 2021 01:21
Show Gist options
  • Save codemem/8471ef780789df8b3bff83bef0177cab to your computer and use it in GitHub Desktop.
Save codemem/8471ef780789df8b3bff83bef0177cab to your computer and use it in GitHub Desktop.
Complete docker-compose file for PrestaShop module development
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=presta
- MYSQL_DATABASE=presta
- MYSQL_USER=presta
- MYSQL_PASSWORD=presta
phpmyadmin:
image: phpmyadmin:latest
ports:
- 8080:80
environment:
- PMA_HOST=db
depends_on:
- db
prestashop:
image: prestashop/prestashop:latest
ports:
- 80:80
restart: always
environment:
- PS_DEV_MODE=true
- PS_DOMAIN=localhost
- PS_DEMO_MODE=true
- DB_SERVER=db
- DB_USER=presta
- DB_PASSWD=presta
- DB_PREFIX=ov_
- DB_NAME=presta
- PS_INSTALL_AUTO=1
- PS_LANGUAGE=pl
- PS_COUNTRY=PL
- PS_FOLDER_ADMIN=manage
- PS_FOLDER_INSTALL=install.old
- [email protected]
- ADMIN_PASSWD=adminadmin
volumes:
- ./ordersview:/var/www/html/modules/ordersview
- presta:/var/www/html
depends_on:
- db
filebrowser:
image: filebrowser/filebrowser:latest
ports:
- 9090:80
volumes:
- presta:/srv
volumes:
db_data: {}
presta: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment