diff --git a/docker/jellyfin/docker-compose.yaml b/docker/jellyfin/docker-compose.yaml index 18fa207..e36f27f 100644 --- a/docker/jellyfin/docker-compose.yaml +++ b/docker/jellyfin/docker-compose.yaml @@ -1,11 +1,12 @@ -version: "3" +version: "2.3" services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin environment: - TZ=Europe/Helsinki - user: "1000:985" + - NVIDIA_DRIVER_CAPABILITIES=all + - NVIDIA_VISIBLE_DEVICES=all ports: - "8096:8096" networks: @@ -16,6 +17,8 @@ services: - /docker/jellyfin/cache:/cache - /mnt/Storage/Media:/media - /etc/localtime:/etc/localtime:ro + devices: + - /dev/dri:/dev/dri labels: - "traefik.enable=true"