forked from PacSim/pacsim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 1.01 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
37
38
39
services:
pacsim:
container_name: pacsim-container
image: pacsim-pacsim
build:
context: .
dockerfile: .devcontainer/Dockerfile
args:
USERNAME: "${USERNAME}"
environment:
DISPLAY: "${DISPLAY}"
ROS_AUTOMATIC_DISCOVERY_RANGE: "LOCALHOST"
ROS_DOMAIN_ID: "42"
volumes:
- type: bind
source: "./"
target: /home/ws
- type: bind
source: "/tmp/.X11-unix"
target: "/tmp/.X11-unix"
consistency: cached
- type: bind
source: "/dev/dri"
target: "/dev/dri"
consistency: cached
- type: bind
source: "./cache/iron-ros-base-jammy/build"
target: "/home/ws/build"
- type: bind
source: "./cache/iron-ros-base-jammy/install"
target: "/home/ws/install"
- type: bind
source: "./cache/iron-ros-base-jammy/log"
target: "/home/ws/log"
network_mode: host
ipc: host
pid: host
command: >
bash -c "cd /home/ws/ && ./entrypoint.sh"