70 lines
1.5 KiB
Makefile
70 lines
1.5 KiB
Makefile
testbed.mk
|
|
|
|
portainer
|
|
user: admin
|
|
pass: eQXF-L&2H:Ezs6Y
|
|
|
|
nginx proxy manager
|
|
user: admin/petrovskidimitar@yandex.com
|
|
pass: irina7654321
|
|
|
|
version: '3'
|
|
services:
|
|
prestashop:
|
|
image: prestashop/prestashop
|
|
environment:
|
|
- DB_SERVER=db
|
|
- DB_NAME=prestashop
|
|
- DB_USER=prestashop
|
|
- DB_PASSWD=qwerty76 #change this
|
|
- PS_DEV_MODE=0
|
|
- PS_DEMO_MODE=0
|
|
- PS_INSTALL_AUTO=1
|
|
- PS_DOMAIN=testbed.mk #change this domain to yours
|
|
- PS_FOLDER_ADMIN=admin76
|
|
- ADMIN_MAIL=petrovskidimitar@yandex.com
|
|
- ADMIN_PASSWD=qwerty76
|
|
links:
|
|
- db
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- 8080:80
|
|
networks:
|
|
- prestashop-net
|
|
healthcheck:
|
|
test: [ "CMD", "curl", "-f", "https://testbed.mk" ] #change this domain to yours
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
volumes:
|
|
- /home/docker/prestashop:/var/www/html
|
|
|
|
db:
|
|
image: mysql:5.7
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=qwerty76 #change this
|
|
- MYSQL_DATABASE=prestashop
|
|
- MYSQL_USER=prestashop
|
|
- MYSQL_PASSWORD=qwerty76 #this should match the DB_PASSWD in the prestashop container above
|
|
networks:
|
|
- prestashop-net
|
|
volumes:
|
|
- /home/docker/db:/var/lib/mysql
|
|
|
|
phpmyadmin:
|
|
image: phpmyadmin/phpmyadmin
|
|
links:
|
|
- db:db
|
|
ports:
|
|
- 1234:80
|
|
depends_on:
|
|
- db
|
|
networks:
|
|
- prestashop-net
|
|
|
|
networks:
|
|
prestashop-net:
|
|
|