-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 1.02 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
version: "3.8"
services:
ros-monocular-drone-node:
build:
context: ./monocular-drone
container_name: monocular-drone-container
volumes:
- ./monocular-drone/drone-node/CMakeLists.txt:/catkin_ws/src/drone-node/CMakeLists.txt
- ./monocular-drone/drone-node/package.xml:/catkin_ws/src/drone-node/package.xml
- ./monocular-drone/drone-node/src:/catkin_ws/src/drone-node/src
- ./monocular-drone/drone-node/rviz:/catkin_ws/src/drone-node/rviz
- ./monocular-drone/drone-node/launch:/catkin_ws/src/drone-node/launch
environment:
- DISPLAY=${DISPLAY}
- QT_X11_NO_MITSHM=1
- ROS_MASTER_URI=http://172.22.0.6:11311
- ROS_IP=172.22.0.6
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
runtime: nvidia
networks:
ros_network:
ipv4_address: 172.22.0.6
networks:
ros_network:
driver: bridge
ipam:
config:
- subnet: 172.22.0.0/16