diff --git a/compose.yaml b/compose.yaml index c6bed20..33ce8bd 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,8 +2,14 @@ services: tdarr: container_name: tdarr devices: - - /dev/dri/card1:/dev/dri/card1 - - /dev/dri/renderD129:/dev/dri/renderD129 + - /dev/dri:/dev/dri + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] environment: - TZ=Europe/Berlin - PUID=1000 @@ -16,7 +22,8 @@ services: - inContainer=true - ffmpegVersion=6 - nodeName=tdarr - - QSV_DEVICE= "/dev/dri/renderD129" + - NVIDIA_DRIVER_CAPABILITIES=all + - NVIDIA_VISIBLE_DEVICES=all image: ghcr.io/haveagitgat/tdarr:latest ports: - 0.0.0.0:8265:8265