mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-09-01 03:43:13 +00:00
Updated network settings to allow roscore to run
This commit is contained in:
@@ -3,6 +3,10 @@
|
|||||||
# docker-compose.yml format version
|
# docker-compose.yml format version
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
ros:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
# Define services
|
# Define services
|
||||||
services:
|
services:
|
||||||
# ROS Development Service
|
# ROS Development Service
|
||||||
@@ -60,7 +64,9 @@ services:
|
|||||||
# Set DISPLAY variable and network mode for GUIs
|
# Set DISPLAY variable and network mode for GUIs
|
||||||
environment:
|
environment:
|
||||||
- DISPLAY=${IP_ADDRESS}:0.0
|
- DISPLAY=${IP_ADDRESS}:0.0
|
||||||
network_mode: "host"
|
#network_mode: "host"
|
||||||
# Set working directory in container to app folder
|
# Set working directory in container to app folder
|
||||||
#working_dir: /home/rrrobot
|
#working_dir: /home/rrrobot
|
||||||
hostname: "rrrobot-env"
|
hostname: "rrrobot-env"
|
||||||
|
networks:
|
||||||
|
- ros
|
||||||
|
Reference in New Issue
Block a user