35 lines
584 B
YAML
35 lines
584 B
YAML
#Simon Tscherne
|
|
version: "3"
|
|
services:
|
|
novnc-backend:
|
|
image: theasp/novnc:latest
|
|
environment:
|
|
- DISPLAY_WIDTH=1700
|
|
- DISPLAY_HEIGHT=901
|
|
- RUN_XTERM=no
|
|
ports:
|
|
- 8080:8080
|
|
networks:
|
|
- host
|
|
container_name: novnc
|
|
|
|
ros-core:
|
|
image: ros_noetic_turtlebot
|
|
environment:
|
|
- DISPLAY=novnc:0.0
|
|
devices:
|
|
- /dev/video0:/dev/video0
|
|
- /dev/video1:/dev/video1
|
|
volumes:
|
|
- ./turtle_control:/catkin_ws/src/turtle_control
|
|
depends_on:
|
|
- novnc-backend
|
|
command: bash -c "roscore"
|
|
networks:
|
|
- host
|
|
container_name: ros-core
|
|
|
|
networks:
|
|
host: {}
|
|
|