Skip to content

Instantly share code, notes, and snippets.

@Qadadain
Created November 14, 2021 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Qadadain/b29a3320e2e7a2c8aa36472bcde65e9a to your computer and use it in GitHub Desktop.
Save Qadadain/b29a3320e2e7a2c8aa36472bcde65e9a to your computer and use it in GitHub Desktop.
Prestashop + mysql + adminer config ARM
version: '3.1'
services:
prestashop:
image: prestashop/prestashop:1.7-7.3-apache
restart: always
volumes:
- ./:/var/www/html
- ./modules:/var/www/html/modules
- ./themes:/var/www/html/themes
- ./override:/var/www/html/override
environment:
- PS_DEV_MODE=1
- PS_INSTALL_AUTO=0
- DB_SERVER=mysql
- DB_USER=root
- DB_PASSWD=password
ports:
- 8080:80
db:
image: mysql/mysql-server
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: root
MYSQL_PASSWORD: password
MYSQL_ROOT_HOST: '%'
ports:
- 3360:3360
adminer:
image: adminer
restart: always
ports:
- 8085:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment