forked from elgalu/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-host.yml
48 lines (44 loc) · 1012 Bytes
/
docker-compose-host.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
version: '2.1'
services:
hub:
image: elgalu/selenium
network_mode: host
volumes:
- /dev/shm:/dev/shm
privileged: true
environment:
- SELENIUM_HUB_PORT=${SELENIUM_HUB_PORT-4444}
- PICK_ALL_RANDOM_PORTS=true
- GRID=true
- CHROME=false
- FIREFOX=false
chrome:
image: elgalu/selenium
network_mode: host
volumes:
- /dev/shm:/dev/shm
privileged: true
environment:
- SELENIUM_HUB_PORT=${SELENIUM_HUB_PORT-4444}
- PICK_ALL_RANDOM_PORTS=true
- GRID=false
- CHROME=true
- FIREFOX=false
firefox:
image: elgalu/selenium
network_mode: host
volumes:
- /dev/shm:/dev/shm
privileged: true
environment:
- SELENIUM_HUB_PORT=${SELENIUM_HUB_PORT-4444}
- PICK_ALL_RANDOM_PORTS=true
- GRID=false
- CHROME=false
- FIREFOX=true
mock:
image: elgalu/google_adwords_mock
network_mode: host
tty: true
environment:
- MOCK_SERVER_PORT=8280