Created
January 13, 2022 10:41
-
-
Save lowang/4e38ff38be81e94359b2c0c97c1b9c9f to your computer and use it in GitHub Desktop.
Bare docker-compose file used for setting up 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.4" | |
services: | |
mysql: | |
image: mariadb:10.6 | |
restart: always | |
environment: | |
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: '1' | |
volumes: | |
- mysqldata:/var/lib/mysql | |
prestashop: | |
#image: prestashop/prestashop:1.5.3.1 | |
#image: prestashop/prestashop:1.6 | |
image: prestashop/base:7.1-apache | |
environment: | |
DB_NAME: 'prestashop' | |
DB_USER: 'root' | |
DB_PASSWD: '' | |
DB_SERVER: 'mysql' | |
PS_INSTALL_AUTO: 0 | |
PS_ERASE_DB: 0 | |
PS_DEV_MODE: 0 | |
PS_DOMAIN: localhost:3106 | |
PS_FOLDER_ADMIN: admin | |
PS_FOLDER_INSTALL: install | |
links: | |
- mysql | |
ports: | |
- "3107:80" | |
volumes: | |
- .:/var/www/html | |
depends_on: | |
- mysql | |
volumes: | |
mysqldata: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment