Tracks / keypoint-db /docker-compose.yml
Luis Yoichi Morales
adding the ROS2 container and the playing and visualization scripts
c9ea516
raw
history blame contribute delete
576 Bytes
version: '3.5'
services:
ros2_dev_env:
image: ros2_devel:${IMAGE_TAG}
network_mode: host
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
- DISPLAY
# force libGL to use the NVIDIA GPU
- __NV_PRIME_RENDER_OFFLOAD=1
- __GLX_VENDOR_LIBRARY_NAME=nvidia
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ./ws:/home/user/ws
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]