-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
71 lines (67 loc) · 1.79 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3.9'
# Docker compose that start the markhor navigation stack
services:
markhor_gazebo:
command: roslaunch markhor_gazebo test_world.launch
image: ghcr.io/clubcapra/markhor/markhor:latest
restart: always
ports:
- 9090:9090
environment:
- DISPLAY=host.docker.internal:0.0
- QT_X11_NO_MITSHM=1
- GAZEBO_GUI=true
- ROS_MASTER_URI=http://markhor_gazebo:11311
networks:
- markhor_network
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
privileged: true
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
markhor_slam:
command: roslaunch markhor_slam markhor_slam.launch
image: ghcr.io/clubcapra/markhor/markhor:latest
environment:
- ROS_MASTER_URI=http://markhor_gazebo:11311
networks:
- markhor_network
restart: always
privileged: true
depends_on:
- markhor_gazebo
markhor_navigation:
command: roslaunch markhor_navigation markhor_nav.launch
image: ghcr.io/clubcapra/markhor/markhor:latest
environment:
- ROS_MASTER_URI=http://markhor_gazebo:11311
networks:
- markhor_network
privileged: true
restart: always
depends_on:
- markhor_gazebo
- markhor_slam
markhor_viz:
command: roslaunch markhor_description display_markhor.launch
image: ghcr.io/clubcapra/markhor/markhor:latest
networks:
- markhor_network
restart: always
environment:
- DISPLAY=host.docker.internal:0.0
- QT_X11_NO_MITSHM=1
- GAZEBO_GUI=true
- ROS_MASTER_URI=http://markhor_gazebo:11311
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
depends_on:
- markhor_gazebo
networks:
markhor_network:
driver: bridge