123456789101112131415161718192021 |
- version: '3'
- services:
- joystick_example:
- build:
- context: ../
- dockerfile: basic_example/Dockerfile
- ports:
- - 8000:8000
- volumes:
- - ../ros2_ws/src:/ros2_ws/src
- command: ros2 run nicegui_ros2 joystick_nicegui
- turtle_sim:
- image: osrf/ros:humble-desktop
- environment:
- - DISPLAY
- volumes:
- - /tmp/.X11-unix:/tmp/.X11-unix:rw
- command: ros2 run turtlesim turtlesim_node
- depends_on:
- - joystick_example
|