-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 781 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (39 loc) · 781 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
services:
sa-web:
build:
context: .
target: web
ports:
- "3000:3000"
env_file:
- .env.development
depends_on:
- sa-engine
healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:3000/"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
sa-engine:
build:
context: .
target: engine
ports:
- "5000:80"
env_file:
- .env.development
healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:80/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
sa-worker:
build:
context: .
target: worker
env_file:
- .env.development
depends_on:
- sa-engine