forked from mollie/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (62 loc) · 1.65 KB
/
docker-compose.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
60
61
62
63
64
65
66
67
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
image: mysql:5.7
ports:
- "9001: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
prestashop-17:
#platform: linux/amd64
container_name: prestashop-17
build:
context: .
dockerfile: .docker/Dockerfile.1770
environment:
PS_INSTALL_AUTO: 0
DB_PASSWD: prestashop
DB_NAME: prestashop
DB_SERVER: mysql
PS_DOMAIN: demoshop.eu.ngrok.io:8001
PS_FOLDER_INSTALL: install
PS_FOLDER_ADMIN: admin1
depends_on:
- mysql
ports:
- "8001:80"
volumes:
- ./:/var/www/html/modules/mollie:cached
- ./tests/seed/settings/defines.inc.php:/var/www/html/config/defines.inc.php
- ./tests/seed/settings/parameters.php:/var/www/html/app/config/parameters.php
- ./.docker/.htaccess:/var/www/html/.htaccess
networks:
- prestashop_mollie_net
healthcheck:
test: "wget --no-verbose --tries=1 --spider http://localhost:80 || exit 1"
interval: 10s
php:
image: phpdockerio/php72-cli
volumes:
- ./:/var/www/html
working_dir: /var/www/html
environment:
_PS_ROOT_DIR_: /var/www/html
networks:
prestashop_mollie_net:
name: 'prestashop_mollie_net'