forked from elgalu/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-host.yml
More file actions
51 lines (46 loc) · 1.06 KB
/
Copy pathdocker-compose-host.yml
File metadata and controls
51 lines (46 loc) · 1.06 KB
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: '2'
services:
hub:
image: elgalu/selenium
network_mode: host
environment:
- SELENIUM_HUB_PORT
- PICK_ALL_RANDMON_PORTS=true
- GRID=true
- CHROME=false
- FIREFOX=false
chrome:
image: elgalu/selenium
network_mode: host
shm_size: 1g
environment:
- SELENIUM_HUB_PORT
- PICK_ALL_RANDMON_PORTS=true
- GRID=false
- CHROME=true
- FIREFOX=false
firefox:
image: elgalu/selenium
network_mode: host
environment:
- SELENIUM_HUB_PORT
- PICK_ALL_RANDMON_PORTS=true
- GRID=false
- CHROME=false
- FIREFOX=true
mock:
image: elgalu/google_adwords_mock
network_mode: host
tty: true
environment:
- MOCK_SERVER_PORT=8080
#-- Notes --#
# shm_size: 1g
# Fixes small 64 mb /dev/shm inside docker containers
# see: https://github.com/docker/compose/blob/1.7.1/compose/config/config.py#L79
# Can also be fixed with:
# volumes:
# - /dev/shm:/dev/shm
# Can also be fixed with:
# environment:
# - SHM_TRY_MOUNT_UNMOUNT=true