Enhancement: Add GPU passthrough.

This commit is contained in:
Joey Hafner 2025-02-08 02:16:09 -08:00
parent d16a2c5230
commit 544050e4e4
Signed by: Jafner
GPG Key ID: 6D9A24EF2F389E55

View File

@ -3,6 +3,15 @@ services:
container_name: stash
image: stashapp/stash:latest
restart: "no"
devices:
- "/dev/kfd:/dev/kfd"
- "/dev/dri:/dev/dri"
group_add:
- video
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined
volumes:
- $APPDATA/.stash:/root/.stash
- $APPDATA/generated:/generated
@ -11,7 +20,6 @@ services:
- $LIBRARY/Videos:/media/Videos
- $LIBRARY/Galleries:/media/Galleries
- /etc/localtime:/etc/localtime:ro
environment:
STASH_STASH: "/media/"
STASH_GENERATED: "/generated/"