-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
42 lines (39 loc) · 1.02 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
version: '3.4'
services:
selenium_hub:
image: selenium/hub:3.14.0-helium
environment:
GRID_THROW_ON_CAPABILITY_NOT_PRESENT: 'false'
GRID_MAX_SESSION: 10
GRID_BROWSER_TIMEOUT: 100000
GRID_TIMEOUT: 90000
GRID_NEW_SESSION_WAIT_TIMEOUT: 150000
ports:
- '4444:4444'
- '9001:9001'
chrome:
image: selenium/node-chrome:3.14.0-helium
volumes:
- /dev/shm:/dev/shm
deploy:
replicas: 1
environment:
HUB_HOST: selenium_hub
HUB_PORT: 9001
NODE_MAX_SESSION: 1
NODE_MAX_INSTANCES: 1
TZ: 'America/Chicago'
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME" /opt/bin/entry_point.sh'
firefox:
image: selenium/node-firefox:3.141.59-titanium
volumes:
- /dev/shm:/dev/shm
deploy:
replicas: 1
environment:
HUB_HOST: selenium_hub
HUB_PORT: 4444
NODE_MAX_SESSION: 1
NODE_MAX_INSTANCES: 1
TZ: 'America/Chicago'
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME" /opt/bin/entry_point.sh'