-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
77 lines (69 loc) · 1.68 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
version: '3.7'
services:
hub:
image: selenium/hub:3.0.1
environment:
GRID_BROWSER_TIMEOUT: 120000
GRID_NEW_SESSION_WAIT_TIMEOUT: 8000
GRID_NODE_POLLING: 300
GRID_TIMEOUT: 120000
ports:
- '4444:4444'
networks:
- nightwatch-docker-grid-network
logging: &LOG
options:
max-file: '5'
max-size: 1m
nightwatch:
build:
context: .
command: ./scripts/run_nightwatch.sh
networks:
- nightwatch-docker-grid-network
logging: *LOG
node-chrome:
image: selenium/node-chrome:3.0.1
environment: &SELENIUM_NODE_ENV
# this is a necessary workaround due to a known bug
# https://github.com/SeleniumHQ/docker-selenium/issues/133
HUB_PORT_4444_TCP_ADDR: hub
HUB_PORT_4444_TCP_PORT: 4444
networks:
- nightwatch-docker-grid-network
logging: *LOG
node-chrome-debug:
image: selenium/node-chrome-debug:3.0.1
environment:
<<: *SELENIUM_NODE_ENV
ports:
- '5900:5900'
networks:
- nightwatch-docker-grid-network
logging: *LOG
node-firefox:
image: selenium/node-firefox:3.0.1
environment:
<<: *SELENIUM_NODE_ENV
networks:
- nightwatch-docker-grid-network
logging: *LOG
node-firefox-debug:
image: selenium/node-firefox-debug:3.0.1
environment:
<<: *SELENIUM_NODE_ENV
ports:
- '5901:5900'
networks:
- nightwatch-docker-grid-network
logging: *LOG
web:
image: mycargus/hello_docker_world:master
networks:
- nightwatch-docker-grid-network
logging: *LOG
networks:
nightwatch-docker-grid-network:
driver: bridge
name: nightwatch-docker-grid-network