added profiles to docker compose

This commit is contained in:
Björn Ellensohn 2023-08-30 08:26:46 +02:00
parent bed9ad3cc4
commit 6b80a4857e

View File

@ -82,6 +82,8 @@ services:
ipc: host
environment:
- ROS_DOMAIN_ID=5
profiles:
- robot
# Controller
controller:
@ -104,6 +106,8 @@ services:
environment:
- ROS_DOMAIN_ID=5
restart: unless-stopped
profiles:
- robot
# teleop
teleop:
@ -122,6 +126,8 @@ services:
privileged: true
environment:
- ROS_DOMAIN_ID=5
profiles:
- robot
# lidar
lidar:
@ -141,6 +147,8 @@ services:
- /dev/rplidarA1:/dev/rplidarA1 #udevrules needed for this to work:
# SUBSYSTEM=="tty", ATTRS{serial}=="0001", SYMLINK+="segway"
# SUBSYSTEM=="tty", ATTRS{serial}=="3453995662b3af4f81f4a69eba5f3f29", SYMLINK+="rplidarA1"
profiles:
- robot
# localiaztion by ekf node
@ -198,6 +206,8 @@ services:
ipc: host
environment:
- ROS_DOMAIN_ID=5
profiles:
- robot
# navigation
navigation:
@ -212,6 +222,8 @@ services:
ipc: host
environment:
- ROS_DOMAIN_ID=5
profiles:
- robot
# bash
bash:
@ -265,6 +277,8 @@ services:
environment:
- ROS_DOMAIN_ID=5
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
profiles:
- robot
# Foxglove Studio Webserver
foxglove_webserver:
@ -274,6 +288,8 @@ services:
# Networking
ports:
- 8080:8080
profiles:
- robot
# USB Camera Stream
cam: