From 53645580a96235a2417e1bfb4108f48856b4bd4b Mon Sep 17 00:00:00 2001 From: Philipp Caspers <117186241+philipp-caspers@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:24:02 +0200 Subject: [PATCH] feat: Set network=host in the compose file We assume that the typical user will either have ROS installed on the host or uses multiple containers connected via the hosts network. --- compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/compose.yaml b/compose.yaml index 1c567f2..01af6a8 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,6 +2,7 @@ services: voraus_ros_bridge: image: ghcr.io/vorausrobotik/voraus-ros-bridge:main command: ros2 launch voraus-ros-bridge voraus-ros-bridge.launch.py + network_mode: host environment: - AMENT_PREFIX_PATH=/root/voraus-ros-bridge/install/voraus-ros-bridge:/opt/ros/humble - ROS_NAMESPACE=robot1