-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose_exec2.yml
More file actions
72 lines (69 loc) · 2.08 KB
/
Copy pathdocker-compose_exec2.yml
File metadata and controls
72 lines (69 loc) · 2.08 KB
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
name: sos_execution_exec2 # Potential source of interference
services:
manager:
container_name: sos_manager_exec2 # Potential source of interference
image: codelaborg/sos:latest
command: python3 src/manager/main.py
env_file: .env
volumes:
- ./sos_exec2.yaml:/opt/sos.yaml
- ~/.aws/credentials:/root/.aws/credentials:ro
- ./:/opt/
network_mode: "host" # Potential source of interference
restart: "no"
healthcheck:
test: ["CMD-SHELL", "pgrep -f 'python3 src/manager/main.py' || exit 1"]
interval: 5s
timeout: 3s
retries: 5
start_period: 15s
planner:
container_name: sos_planner_exec2 # Potential source of interference
image: codelaborg/sos:latest
command: python3 src/planner/main.py
env_file: .env
environment:
- DOWNLOAD_CHECK_INTERVAL=5
- DOWNLOAD_MAX_ATTEMPTS=1
- ENABLE_UPLOADS=true
volumes:
- ./sos_exec2.yaml:/opt/sos.yaml
- ~/.aws/credentials:/root/.aws/credentials:ro
- ./:/opt/
network_mode: "host" # Potential source of interference
restart: "no"
depends_on:
manager:
condition: service_healthy
appender:
container_name: sos_appender_exec2 # Potential source of interference
image: codelaborg/sos:latest
command: python3 src/appender/main.py
env_file: .env
environment:
- ENABLE_UPLOADS=true
volumes:
- ./sos_exec2.yaml:/opt/sos.yaml
- ~/.aws/credentials:/root/.aws/credentials:ro
- ./:/opt/
network_mode: "host"
restart: "no"
depends_on:
manager:
condition: service_healthy
simulator:
container_name: sos_simulator_exec2 # Potential source of interference
image: codelaborg/sos:latest
command: python3 src/simulator/main.py
env_file: .env
environment:
- ENABLE_UPLOADS=true
volumes:
- ./sos_exec2.yaml:/opt/sos.yaml
- ~/.aws/credentials:/root/.aws/credentials:ro
- ./:/opt/
network_mode: "host" # Potential source of interference
restart: "no"
depends_on:
manager:
condition: service_healthy