-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
51 lines (51 loc) · 1.28 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
version: '3'
services:
chrome:
image: selenium/node-chrome-debug:latest
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME -port 5500" /opt/bin/entry_point.sh'
ports:
- "5500:5500"
environment:
- HUB_PORT_4444_TCP_PORT=4444
- HUB_PORT_4444_TCP_ADDR=hub
networks:
- private
firefox:
image: selenium/node-firefox-debug:latest
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME -port 5501" /opt/bin/entry_point.sh'
ports:
- "5501:5501"
environment:
- HUB_PORT_4444_TCP_PORT=4444
- HUB_PORT_4444_TCP_ADDR=hub
networks:
- private
hub:
image: selenium/hub:latest
ports:
- "4444:4444"
networks:
- private
pyxtaf:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./artifacts:/usr/local/artifacts
depends_on:
- chrome
- firefox
networks:
default:
external:
name: host
private:
driver: bridge