-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (39 loc) · 898 Bytes
/
docker-compose.yaml
File metadata and controls
39 lines (39 loc) · 898 Bytes
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
version: "3"
services:
hub:
image: seleniarm/hub:4.10
ports:
- 4444:4444
chrome:
image: seleniarm/node-chromium:4.10
shm_size: '2g'
depends_on:
- hub
deploy:
replicas: 3
environment:
- SE_EVENT_BUS_HOST=hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
firefox:
image: seleniarm/node-firefox:4.10
shm_size: '2g'
depends_on:
- hub
deploy:
replicas: 3
environment:
- SE_EVENT_BUS_HOST=hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
my-test-suite:
image: samd6197/selenium-docker
depends_on:
- hub
environment:
- BROWSER=chrome
- HUB_HOST=hub
- TEST_SUITE=test-suite.xml
# Volume Mapping => [ container_path : host_path ] below
volumes:
- ./output/:/home/selenium-docker/test-output