-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.deploy.yml
42 lines (42 loc) · 1.4 KB
/
docker-compose.deploy.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
version: "3.8"
# name: ansr-collins
services:
adk:
# image: darpaansr.azurecr.io/adk:latest # Uncomment for Neighbourhood environment
# image: darpaansr.azurecr.io/adk:2.1.5
image: darpaansr.azurecr.io/adk:city1.0
volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix:rw"
- "./adk/mission_briefing:/mission_briefing"
- "./adk/output:/output"
# command: "--mission_thread=maneuver_thread --mission_class=area_search --restart" # Comment when using custom mission config
command: "--mission_thread=maneuver_thread --mission_class=area_search --use_mission_briefing --restart" # Uncomment to use custom mission config
ipc: host
pid: host
environment:
- DISPLAY # comment this our for headless mode
- MAP_ALTITUDE=10
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
deployment:
image: ansr-collins # Uncomment for development
# image: darpaansr.azurecr.io/collins:maneuver-1.0.5 # Run specific tag
ipc: host
pid: host
volumes:
- "./adk/mission_briefing:/mission_briefing"
- "/tmp/.X11-unix:/tmp/.X11-unix:rw"
environment:
- DISPLAY # comment this our for headless mode
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]