-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
executable file
·45 lines (42 loc) · 1.13 KB
/
docker-compose.yaml
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
version: '3.9'
services:
# --------- ROS FOXY ----------
ros-px4-foxy:
image: ros-px4-foxy:latest
container_name: ros-px4-foxy
build:
context: .
dockerfile: ./foxy-px4.Dockerfile
volumes:
- /etc/group:/etc/group:ro
- /etc/passwd:/etc/passwd:ro
- /etc/shadow:/etc/shadow:ro
- /etc/sudoers.d:/etc/sudoers.d:ro
- /home:/home:rw
- /home/${HOST_USERNAME}/Volumes:/edra/Volumes
environment:
- DISPLAY=:0
- LIBGL_ALWAYS_SOFTWARE=1
network_mode: "host"
stdin_open: true
tty: true
# ----------- ROS HUMBLE ----------
ros-px4-humble:
image: ros-px4-humble:latest
container_name: ros-px4-humble
build:
context: .
dockerfile: ./humble-px4.Dockerfile
volumes:
- /etc/group:/etc/group:ro
- /etc/passwd:/etc/passwd:ro
- /etc/shadow:/etc/shadow:ro
- /etc/sudoers.d:/etc/sudoers.d:ro
- /home:/home:rw
- /home/${HOST_USERNAME}/Volumes:/edra/Volumes
environment:
- DISPLAY=:0
- LIBGL_ALWAYS_SOFTWARE=1
network_mode: "host"
stdin_open: true
tty: true