Skip to content

Instantly share code, notes, and snippets.

@gladius882
Last active December 22, 2022 16:31
Show Gist options
  • Save gladius882/c9ded1b7e45d1a50218d8a868f8db492 to your computer and use it in GitHub Desktop.
Save gladius882/c9ded1b7e45d1a50218d8a868f8db492 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