Skip to content

Commit

Permalink
feat: Set network=host in the compose file
Browse files Browse the repository at this point in the history
We assume that the typical user will either have ROS installed on the
host or uses multiple containers connected via the hosts network.
  • Loading branch information
philipp-caspers committed Oct 18, 2024
1 parent 45074be commit 5364558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5364558

Please sign in to comment.