Skip to content

Commit

Permalink
docs: Add comments to Docker Compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
2b-t committed Sep 1, 2024
1 parent c97102e commit bc88543
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/ros/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ services:
extra_hosts:
- "${ROBOT_HOSTNAME}:${ROBOT_IP}"
image: ros_template:devel
# Required for communicating over the network
network_mode: "host"
# Required for accessing hardware
#privileged: true
tty: true
volumes:
# Required for accessing hardware
#- /dev:/dev
# Required for accessing storage media
#- /media:/media
- ../src:${CATKIN_WORKSPACE_DIR}/src

7 changes: 7 additions & 0 deletions templates/ros2/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@ services:
extra_hosts:
- "${ROBOT_HOSTNAME}:${ROBOT_IP}"
image: ros2_template:devel
# Required for communicating over the network
network_mode: "host"
# Required for accessing hardware
#privileged: true
tty: true
volumes:
# Required for accessing hardware
#- /dev:/dev
# Required for accessing storage media
#- /media:/media
- ../src:${AMENT_WORKSPACE_DIR}/src
- ../dds:${AMENT_WORKSPACE_DIR}/dds

0 comments on commit bc88543

Please sign in to comment.