Skip to content

Commit

Permalink
chore: 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 17, 2024
1 parent 10e990e commit 82f6fbc
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: voraus-ros-bridge:0.1.0
command: ros2 launch voraus-ros-bridge voraus-ros-bridge.launch.py
network_mode: host
environment:
- AMENT_PREFIX_PATH=/root/voraus-ros-bridge/install:/opt/ros/humble
- ROS_NAMESPACE=robot1

0 comments on commit 82f6fbc

Please sign in to comment.