-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
executable file
·81 lines (74 loc) · 1.53 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3"
services:
web:
build:
context: .docker/web
volumes:
- .:/var/www/html
ports:
- "80:80"
- "8080:8080"
- "443:443"
- "4445:4445"
networks:
- surveythor-demo
- surveythor-frontend
command: /init-project.sh
environment:
PHP_XDEBUG_ENABLED: 0
PHP_XDEBUG_REMOTE_HOST: 172.17.0.1
PHP_IDE_CONFIG: serverName=surveythor-demo-docker-container
tty: true
container_name: surveythor-demo
depends_on:
- mysql
- node-chrome
- node-firefox
mysql:
image: mysql:5.7
volumes:
- mysql_data:/var/lib/mysql
ports:
- "3306:3306"
networks:
- surveythor-demo
environment:
MYSQL_ROOT_PASSWORD: 12345678
MYSQL_DATABASE: surveythor_demo
MYSQL_USER: surveythor_demo
MYSQL_PASSWORD: surveythor_demo
hub:
image: selenium/hub
ports:
- "4444:4444"
networks:
- surveythor-demo
node-firefox:
image: selenium/node-firefox-debug
networks:
- surveythor-demo
ports:
- "5900:5900"
depends_on:
- hub
environment:
- HUB_PORT_4444_TCP_ADDR=hub
- HUB_PORT_4444_TCP_PORT=4444
node-chrome:
image: selenium/node-chrome-debug
networks:
- surveythor-demo
ports:
- "5901:5900"
depends_on:
- hub
environment:
- HUB_PORT_4444_TCP_ADDR=hub
- HUB_PORT_4444_TCP_PORT=4444
volumes:
mysql_data:
networks:
surveythor-demo:
driver: bridge
surveythor-frontend:
driver: bridge