Skip to content

Commit

Permalink
feat: Add variable for localhost communication only to Docker Compose…
Browse files Browse the repository at this point in the history
… file for ROS 2
  • Loading branch information
2b-t committed Sep 1, 2024
1 parent 82cd829 commit dea9089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/ros2/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
container_name: ros2_docker
environment:
- ROS_DOMAIN_ID=${ROS_DOMAIN_ID}
# Limit ROS communication to local computer only
#- ROS_LOCALHOST_ONLY=1
- YOUR_IP=${YOUR_IP}
- ROBOT_IP=${ROBOT_IP}
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
Expand Down

0 comments on commit dea9089

Please sign in to comment.