Updated network settings to allow roscore to run

This commit is contained in:
Derek Witcpalek
2020-04-05 15:14:14 -04:00
parent be2db72832
commit 64bd1690bb

View File

@@ -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