-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
89 lines (85 loc) · 1.81 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
82
83
84
85
86
87
88
89
version: "3"
services:
selenium-hub:
image: selenium/hub:3.141.59
container_name: selenium-hub
logging:
driver: "none"
ports:
- "4444:4444" # Only used if we run wdio locally and not via docker
deploy:
resources:
limits:
memory: 2G
chrome:
image: selenium/node-chrome-debug:3.141.59
container_name: chrome
depends_on:
- selenium-hub
ports:
- "5902:5900" # VNC for debugging things
logging:
driver: "none"
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
- NODE_MAX_INSTANCES=5
- NODE_MAX_SESSION=5
deploy:
resources:
limits:
memory: 2G
firefox:
build:
context: .
dockerfile: Dockerfile-firefox-with-pulseaudio
container_name: firefox
depends_on:
- selenium-hub
ports:
- "5901:5900" # VNC for debugging things
logging:
driver: "none"
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
- NODE_MAX_INSTANCES=5
- NODE_MAX_SESSION=5
deploy:
resources:
limits:
memory: 2G
licode:
image: lynckia/licode:develop
container_name: licode
environment:
MIN_PORT: 30000
MAX_PORT: 35000
logging:
driver: "none"
volumes:
- ./licode_default.js:/opt/licode/scripts/licode_default.js
deploy:
resources:
limits:
memory: 2G
integration:
build:
context: .
dockerfile: Dockerfile-tests
container_name: integration
environment:
HUB_HOST: selenium-hub
LICODE_HOST: licode
depends_on:
- selenium-hub
- chrome
- firefox
- licode
volumes:
- ./errorShots:/tmp/errorShots
- ./reports:/tmp/reports
deploy:
resources:
limits:
memory: 2G