Created
October 7, 2024 09:53
-
-
Save frakw/19d0bdd98c8468fdac000450f463c405 to your computer and use it in GitHub Desktop.
RegionDrag docker compose file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
region_drag: | |
stdin_open: true | |
tty: true | |
devices: | |
- /dev/dri | |
group_add: | |
- video | |
volumes: | |
- /tmp/.X11-unix:/tmp/.X11-unix | |
- ./:/src | |
ports: | |
- "7860:7860" | |
deploy: | |
resources: | |
reservations: | |
devices: | |
- driver: nvidia | |
count: all | |
capabilities: | |
- gpu | |
environment: | |
- DISPLAY=$DISPLAY | |
- QT_X11_NO_MITSHM=1 | |
- NVIDIA_VISIBLE_DEVICES=all | |
- NVIDIA_DRIVER_CAPABILITIES=all | |
container_name: region-drag-container | |
build: . | |
image: frakw/region-drag | |
command: /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment