forked from mollie/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.8.yml
executable file
·59 lines (55 loc) · 1.25 KB
/
docker-compose.8.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: "3.7"
services:
mysql:
platform: linux/amd64
container_name: mysql-mollie-8
image: mysql:5.7
ports:
- "9002:3306"
environment:
MYSQL_ROOT_PASSWORD: prestashop
MYSQL_DATABASE: prestashop
restart: always
healthcheck:
test: "mysqladmin ping -h127.0.0.1 -uroot -pprestashop --silent"
interval: 10s
networks:
- prestashop_mollie_net_8
prestashop-mollie-8:
platform: linux/amd64
container_name: prestashop-mollie-8
build:
context: .
dockerfile: .docker/Dockerfile.8
environment:
PS_INSTALL_AUTO: 1
PS_ENABLE_SSL: 1
DB_PASSWD: $DB_PASSWD
DB_NAME: prestashop
DB_SERVER: mysql
PS_DOMAIN: demoshop8.ngrok.io
PS_FOLDER_INSTALL: install
PS_FOLDER_ADMIN: admin1
depends_on:
- mysql
ports:
- "8002:80"
volumes:
- ./:/var/www/html/modules/mollie
networks:
- prestashop_mollie_net_8
healthcheck:
test: "curl -f localhost:8002"
interval: 5s
timeout: 5s
retries: 10
adminer:
image: adminer
restart: always
ports:
- '6969:8080'
networks:
- prestashop_mollie_net_8
networks:
prestashop_mollie_net_8:
name: 'prestashop_mollie_net_8'