Last active
October 1, 2025 16:37
-
-
Save konflic/9c103428e1cf83384562d4c10d477fc1 to your computer and use it in GitHub Desktop.
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
| services: | |
| phpmyadmin: | |
| image: phpmyadmin/phpmyadmin | |
| container_name: phpmyadmin | |
| environment: | |
| PMA_HOST: db | |
| PMA_PORT: 3306 | |
| PMA_ARBITRARY: 1 | |
| PMA_USER: root | |
| PMA_PASSWORD: admin # Add password for auto-login | |
| restart: unless-stopped | |
| ports: | |
| - '8888:80' | |
| depends_on: | |
| db: | |
| condition: service_healthy | |
| db: | |
| image: mysql:5.7 | |
| container_name: mysql_db | |
| restart: always | |
| environment: | |
| MYSQL_ROOT_PASSWORD: admin | |
| MYSQL_DATABASE: prestashop | |
| healthcheck: | |
| test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-padmin"] | |
| interval: 10s | |
| timeout: 5s | |
| retries: 5 | |
| start_period: 30s | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| prestashop: | |
| image: prestashop/prestashop:latest | |
| container_name: prestashop | |
| restart: always | |
| ports: | |
| - '8081:80' | |
| environment: | |
| DB_SERVER: db | |
| DB_NAME: prestashop | |
| DB_USER: root | |
| DB_PASSWORD: admin | |
| DB_PREFIX: ps_ | |
| PS_INSTALL_AUTO: "1" | |
| PS_LANGUAGE: en | |
| PS_COUNTRY: US | |
| ADMIN_MAIL: [email protected] | |
| ADMIN_PASSWD: Admin123! | |
| PS_FOLDER_ADMIN: administration | |
| PS_FOLDER_INSTALL: install | |
| PS_DOMAIN: localhost:8081 # Changed to localhost for better compatibility | |
| volumes: | |
| - ps_data:/var/www/html | |
| depends_on: | |
| db: | |
| condition: service_healthy | |
| volumes: | |
| db_data: | |
| driver: local | |
| ps_data: | |
| driver: local |
Author
docker exec prestashop ls /var/www/html | grep admin - get admin path
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.