-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (31 loc) · 810 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (31 loc) · 810 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
name: csharp-automation-task
services:
selenium:
image: selenium/standalone-chrome:latest
shm_size: 2gb
ports:
- "4444:4444"
environment:
- SE_NODE_MAX_SESSIONS=2
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4444/status"]
interval: 5s
timeout: 5s
retries: 20
ui-tests:
build:
context: .
dockerfile: UI_Automation/Dockerfile
image: csharp-automation-task-ui-tests:latest
depends_on:
selenium:
condition: service_healthy
environment:
- USE_REMOTE=true
- SELENIUM_REMOTE_URL=http://selenium:4444/wd/hub
api-tests:
build:
context: .
dockerfile: API_Automation/Dockerfile
image: csharp-automation-task-api-tests:latest