23 lines
416 B
YAML
23 lines
416 B
YAML
version: '3.8'
|
|
services:
|
|
ros2:
|
|
build: .
|
|
privileged: true
|
|
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
|
|
- /dev/input/js0:/dev/input/js0
|
|
- /dev/input/js1:/dev/input/js1
|
|
|
|
networks:
|
|
ros_network:
|
|
driver: bridge
|