-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (50 loc) · 1.5 KB
/
docker-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
# version: "3.8"
services:
adk:
image: darpaansr.azurecr.io/adk:latest
volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix:rw"
- "./adk/mission_briefing:/mission_briefing"
- "./adk/output:/output"
command: "--mission_thread=perception_thread"
ipc: host
pid: host
environment:
- DISPLAY
- ROS_SECURITY_ENABLE=false
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
development-env:
build:
context: .
dockerfile: ./Dockerfile
ipc: host
pid: host
container_name: development-env
# Equivalent to `--interactive --tty` or `-it` for docker run
stdin_open: true
tty: true
command: /bin/bash
volumes:
- "./src/ansr_hello_world_py:/home/performer/dev_ws/src/ansr_hello_world_py"
- "./ta3-documentation/ros2/adk_interface:/home/performer/dev_ws/src/adk_interfaces"
- "./ta3-documentation/ros2/airsim_interfaces:/home/performer/dev_ws/src/airsim_interfaces"
- "./ta3-documentation/sros2/airsim_keystore:/airsim_keystore"
- "./adk/mission_briefing:/mission_briefing"
environment:
- ROS_SECURITY_ENCLAVE_OVERRIDE=/airsim/adk_key
- ROS_SECURITY_KEYSTORE=/airsim_keystore
- ROS_SECURITY_ENABLE=false
- ROS_SECURITY_STRATEGY=Enforce
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]