forked from mollie/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.1784.yml
58 lines (55 loc) · 1.53 KB
/
docker-compose.1784.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
version: "3.7"
services:
node:
image: node:latest
volumes:
- ./:/var/www/html
working_dir: /var/www/html
environment:
PATH: /var/www/html/_dev/node_modules/.bin/:$PATH
mysql:
#platform: linux/amd64
container_name: mollie-mysql-1784
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_1784
prestashop-17:
#platform: linux/amd64
container_name: prestashop-1784
build:
context: .
dockerfile: .docker/Dockerfile.1784
environment:
PS_INSTALL_AUTO: 0
DB_PASSWD: prestashop
DB_NAME: prestashop
DB_SERVER: mysql
PS_DOMAIN: demoshop1784.eu.ngrok.io:8002
PS_FOLDER_INSTALL: install
PS_FOLDER_ADMIN: admin1
depends_on:
- mysql
ports:
- "8002:80"
volumes:
- ./:/var/www/html/modules/mollie:cached
- ./tests/seed/settings1784/defines.inc.php:/var/www/html/config/defines.inc.php
- ./tests/seed/settings1784/parameters.php:/var/www/html/app/config/parameters.php
- ./.docker/.htaccess1784:/var/www/html/.htaccess
networks:
- prestashop_mollie_net_1784
healthcheck:
test: "wget --no-verbose --tries=1 --spider http://localhost:80 || exit 1"
interval: 10s
networks:
prestashop_mollie_net_1784:
name: 'prestashop_mollie_net_1784'