-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 902 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 902 Bytes
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
services:
ros1:
build:
context: .
dockerfile: .docker_utils/Dockerfile
args:
- ROS_DISTRO=noetic
image: r-carla:noetic
privileged: true
container_name: rcarla-ros1
network_mode: "host"
tty: true
stdin_open: true
command: roslaunch rcarla_bringup rcarla.launch
volumes:
- ./cfg/config.yaml:/opt/ws/src/cfg/config.yaml
ros2:
build:
context: .
dockerfile: .docker_utils/Dockerfile
args:
- ROS_DISTRO=foxy
image: r-carla:foxy
privileged: true
container_name: rcarla-ros2
network_mode: "host"
ipc: "host"
command: ros2 launch rcarla_bringup rcarla.launch.py
volumes:
- ./cfg/config.yaml:/opt/ws/src/cfg/config.yaml