Last active
November 9, 2023 18:02
-
-
Save dnburgess/2bd5abbc76a5ddecaa0ee43cec9349ae to your computer and use it in GitHub Desktop.
DB Tech PrestaShop
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" | |
services: | |
prestashop: | |
image: prestashop/prestashop | |
networks: | |
myprestashop: | |
ports: | |
- 8181:80 | |
links: | |
- mariadb:mariadb | |
depends_on: | |
- mariadb | |
volumes: | |
- /srv/Configs/PrestaShop/src:/var/www/html | |
- /srv/Configs/PrestaShop/src/modules:/var/www/html/modules | |
- /srv/Configs/PrestaShop/src/themes:/var/www/html/themes | |
- /srv/Configs/PrestaShop/src/override:/var/www/html/override | |
environment: | |
- PS_DEV_MODE=1 | |
- DB_SERVER=mariadb | |
- DB_USER=root | |
- DB_PASSWD=mycustompassword | |
- DB_NAME=prestashop | |
- PS_INSTALL_AUTO=0 | |
mariadb: | |
image: mariadb | |
networks: | |
myprestashop: | |
volumes: | |
- /srv/Databases/PrestaShop:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=mycustompassword | |
- MYSQL_DATABASE=prestashop | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
networks: | |
myprestashop: | |
links: | |
- mariadb:mariadb | |
ports: | |
- 1235:80 | |
depends_on: | |
- mariadb | |
environment: | |
- PMA_HOST=mariadb | |
- PMA_USER=root | |
- PMA_PASSWORD=mycustompassword | |
networks: | |
myprestashop: | |
external: true | |
# Original: https://stackoverflow.com/a/62088287 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment