fix: no longer need X, or host mode! yay! can use VGL_DISPLAY=egl and it works!

Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
vajonam
2024-04-03 12:09:43 -04:00
parent 4ffcbe600f
commit a22e774330

View File

@ -9,9 +9,9 @@ services:
- NVIDIA_VISIBLE_DEVICES=0
- NVIDIA_DRIVER_CAPABILITIES=all
- DISPLAY=:1
- VGL_DISPLAY=egl # needed to run without X server
- VNC_RESOLUTION=1920x1080
volumes:
- ./prints:/prints/
- ./data:/configs/
network_mode: host # THIS IS NEEDED FOR VIRTUALGL IMPORTANT, haven'tt figured out how to remove this yet
restart: unless-stopped