-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
54 lines (48 loc) · 1.04 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
# TEST_FILE=the/test/file docker-compose up --abort-on-container-exit
version: "2.1"
services:
firefox:
image: selenium/standalone-firefox
ports:
- "4445:4444"
healthcheck:
test: wget -nv --spider http://localhost:4444
interval: 2s
timeout: 5s
retries: 10
chrome:
image: selenium/standalone-chrome:3.0.1
ports:
- "4444:4444"
volumes:
- /home/seluser
- /dev/shm:/dev/shm
healthcheck:
test: wget -nv --spider http://localhost:4444
interval: 2s
timeout: 5s
retries: 10
robot:
image: carmosin/robot-docker
depends_on:
chrome:
condition: service_healthy
firefox:
condition: service_healthy
links:
- firefox
- chrome
environment:
- "TEST_FILE=${TEST_FILE}"
volumes:
- "./:/tests"
- "./:/robot-results"
- "~/.aws/:/root/.aws/"
web:
image: carmosin/node-web
ports:
- "8082:8082"
api:
image: carmosin/node-web-api
# ports:
# - "8081:8081"