services:
px4:
build: Docker_PX4
command: bash
tty: true
privileged: true
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
environment:
- "QT_X11_NO_MITSHM=1"
- DISPLAY=$DISPLAY
ports:
- 14570:14570/udp
#deploy:
#resources:
#reservations:
#devices:
#- driver: nvidia
#
# capabilities: [gpu]