Enhancement: Add GPU passthrough.
This commit is contained in:
parent
d16a2c5230
commit
544050e4e4
@ -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/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user