„docker-compose.yaml“ ändern

added support for Display
This commit is contained in:
Niko Feith 2024-03-05 16:03:32 +00:00
parent b85d7e61f0
commit 4a06800d00

View File

@ -4,10 +4,15 @@ services:
build: .
volumes:
- ./src:/ros2_ws/src
- /tmp/.X11-unix:/tmp/.X11-unix
networks:
- ros_network
tty: true
stdin_open: true
environment:
- DISPLAY=$DISPLAY
devices:
- /dev/dri:/dev/dri
networks:
ros_network: