-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate_bags_compose.yml
76 lines (74 loc) · 1.97 KB
/
generate_bags_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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: "3.8"
services:
adk:
# image: darpaansr.azurecr.io/adk:latest
image: darpaansr.azurecr.io/adk:2.1.5
volumes:
- ./task_input/generate_bags/adk/${SCENARIO_ID:?error}/:/mission_briefing
- ./task_input/generate_bags/adk/healthcheck.sh:/healthcheck.sh
- ./task_output/generate_bags/adk/adk_output:/output
- "/tmp/.X11-unix:/tmp/.X11-unix:rw"
command: "--mission_thread=${MISSION_THREAD:?error} --use_mission_briefing"
ipc: host
pid: host
environment:
- ROS_DOMAIN_ID=0
- ROS_SECURITY_ENABLE=false
- MAP_ALTITUDE
- DISPLAY
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# entrypoint: /bin/bash
# tty: True
# stdin_open: True
# restart: always
healthcheck:
test: /healthcheck.sh
# test: /healthcheck.sh
interval: 10s
timeout: 20s
retries: 3
recorder:
image: darpaansr.azurecr.io/tester:latest
entrypoint: ["/input/record_entrypoint.sh", "${MISSION_THREAD}"]
# entrypoint: /bin/bash
# tty: True
# stdin_open: True
ipc: host
pid: host
volumes:
- ./task_input/generate_bags/recorder:/input
- ./task_output/generate_bags/recorder:/bag_root
environment:
- ROS_DOMAIN_ID=0
- ROS_SECURITY_ENABLE=false
- TIMEOUT=${TIMEOUT:?error}
depends_on:
adk:
condition: service_healthy
performer:
condition: service_started
performer:
image: ${TA1_IMAGE:?error}
volumes:
- ./task_input/generate_bags/performer/${SCENARIO_ID:?error}/:/mission_briefing
ipc: host
pid: host
environment:
- ROS_DOMAIN_ID=0
- ROS_SECURITY_ENABLE=false
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
depends_on:
adk:
condition: service_healthy