Skip to content

Commit

Permalink
Use named bridge network on docker compose file (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
leandropineda authored Nov 11, 2022
1 parent a86b98f commit 230d173
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker/deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ services:
command: /bin/bash -c \
"export TURTLEBOT3_MODEL=waffle \
&& ros2 launch nav2_bringup tb3_simulation_launch.py headless:=False"
networks:
- vda5050-adapter-examples

development:
build:
Expand All @@ -46,9 +48,17 @@ services:
devices:
- capabilities: [gpu]
command: sleep infinity
networks:
- vda5050-adapter-examples

mosquitto:
image: eclipse-mosquitto
command: mosquitto -c /mosquitto-no-auth.conf
ports:
- "18883:1883"
networks:
- vda5050-adapter-examples

networks:
vda5050-adapter-examples:
driver: bridge

0 comments on commit 230d173

Please sign in to comment.