-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
69 lines (67 loc) · 1.7 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
# To execute this docker-compose yml file use `docker-compose -f <file_name> up`
# Add the `-d` flag at the end for detached execution
version: "3"
services:
selenium-hub:
image: selenium/hub:3.141.59-20210311
#image: selenium/hub:latest
container_name: selenium-hub
ports:
- "4444:4444"
environment:
- GRID_MAX_SESSION=30
#- qGRID_TIMEOUT=999999
#- GRID_BROWSER_TIMEOUT=999999
- GRID_DEBUG=true
- SE_OPTS=--debug
chrome:
image: selenium/node-chrome-debug:3.141.59-20210311
#image: selenium/node-chrome-debug:latest
volumes:
- /dev/shm:/dev/shm
- ./mnt:/mnt:ro
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
- NODE_MAX_INSTANCES=20
- NODE_MAX_SESSION=20
ports:
- "5900:5900"
firefox:
image: selenium/node-firefox-debug:3.141.59-20210311
#image: selenium/node-firefox-debug:latest
volumes:
- /dev/shm:/dev/shm
- ./mnt:/mnt:ro
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
- NODE_MAX_INSTANCES=20
- NODE_MAX_SESSION=20
- GRID_DEBUG=true
- DRIVER_LOGLEVEL=trace
- SE_OPTS=--debug
ports:
- "5901:5900"
opera:
image: selenium/node-opera-debug:3.141.59-20210311
# image: selenium/node-opera-debug:latest
volumes:
- /dev/shm:/dev/shm
- ./mnt:/mnt:ro
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
- NODE_MAX_INSTANCES=20
- NODE_MAX_SESSION=20
- GRID_DEBUG=true
- DRIVER_LOGLEVEL=trace
- SE_OPTS=--debug
ports:
- "5902:5900"