-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
79 lines (71 loc) · 1.67 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
78
79
version: "3.7"
services:
hub:
image: selenium/hub:3.8.1
environment:
GRID_BROWSER_TIMEOUT: 10000 # 10 seconds
GRID_NEW_SESSION_WAIT_TIMEOUT: 20000
GRID_NODE_POLLING: 300
GRID_TIMEOUT: 10000
ports:
- "4444:4444"
networks:
- rspec-capybara-docker-grid-network
node-chrome:
image: selenium/node-chrome:3.8.1
environment: &SELENIUM_NODE_ENV
HUB_HOST: hub
HUB_PORT: 4444
ports:
- "5901:5900"
volumes:
- /dev/shm:/dev/shm
networks:
- rspec-capybara-docker-grid-network
node-chrome-debug:
image: selenium/node-chrome-debug:3.8.1
environment:
<<: *SELENIUM_NODE_ENV
ports:
- "5901:5900"
volumes:
- /dev/shm:/dev/shm
networks:
- rspec-capybara-docker-grid-network
node-firefox:
image: selenium/node-firefox:3.8.1
environment:
<<: *SELENIUM_NODE_ENV
ports:
- "5900:5900"
volumes:
- /dev/shm:/dev/shm
networks:
- rspec-capybara-docker-grid-network
node-firefox-debug:
image: selenium/node-firefox-debug:3.8.1
environment:
<<: *SELENIUM_NODE_ENV
ports:
- "5900:5900"
volumes:
- /dev/shm:/dev/shm
networks:
- rspec-capybara-docker-grid-network
testrunner:
build:
context: .
command: ruby grid/testrunner.rb
environment:
APP_HOST: web:80
HUB_HOST: hub:4444
networks:
- rspec-capybara-docker-grid-network
web:
image: mycargus/hello_docker_world:master
networks:
- rspec-capybara-docker-grid-network
networks:
rspec-capybara-docker-grid-network:
driver: bridge
name: rspec-capybara-docker-grid-network