forked from diemol/example-node-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 952 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (46 loc) · 952 Bytes
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
# # How to run this? -> docker-compose -f docker-compose.yaml up --abort-on-container-exit --build
version: '2'
services:
firefox:
image: selenium/node-firefox-debug
ports:
- "5901:5900"
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
chrome:
image: selenium/node-chrome-debug
ports:
- "5900:5900"
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
hub:
image: selenium/hub
ports:
- "4444:4444"
bulletin:
image: bulletin_board:latest
build:
context: ./
dockerfile: ./Dockerfile
depends_on:
- hub
ports:
- "8080:8080"
test:
image: watir:latest
build:
context: ./
dockerfile: ./Dockerfile_RubyTest
depends_on:
- bulletin
volumes:
- .:/tmp
command: ["./wait-for-grid.sh", "ruby", "/tmp/bulletin_board.rb"]