28 lines
770 B
YAML
28 lines
770 B
YAML
services:
|
|
piper_moveit:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: piper_moveit2_humble:latest
|
|
container_name: piper_moveit2_container
|
|
network_mode: "host"
|
|
ipc: "host"
|
|
privileged: true
|
|
volumes:
|
|
# Mount current repository and dataset
|
|
- ..:/workspace
|
|
- ../Dataset/FunGraph3D/FunGraph3D:/data/FunGraph3D:ro
|
|
# WSLg GUI Mounts for native Windows 11 / WSL2 display
|
|
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
|
- /mnt/wslg:/mnt/wslg:rw
|
|
environment:
|
|
- DISPLAY=:0
|
|
- WAYLAND_DISPLAY=wayland-0
|
|
- XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir
|
|
- PULSE_SERVER=/mnt/wslg/PulseServer
|
|
- QT_X11_NO_MITSHM=1
|
|
- ROS_DOMAIN_ID=0
|
|
stdin_open: true
|
|
tty: true
|
|
command: /bin/bash
|