diff --git a/jellyfin.yaml b/jellyfin.yaml index 01739ff..e8e6dff 100644 --- a/jellyfin.yaml +++ b/jellyfin.yaml @@ -1,28 +1,22 @@ ---- -version: "2.1" +version: '3' services: jellyfin: - image: lscr.io/linuxserver/jellyfin:latest + image: jellyfin/jellyfin container_name: jellyfin group_add: - - "109" #getent group render | cut -d: -f3 + - "109" # Change this to match your "render" host group id and remove this comment + network_mode: host + restart: unless-stopped environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/Budapest - - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel + - LIBVA_DRIVER_NAME= volumes: - /docker/jellyfin:/config - - /path/to/films:/data/films - - /path/to/series:/data/series - ports: - - 8096:8096 - #- 8092:8920 #optional - - 7359:7359/udp #optional - - 1900:1900/udp #optional - restart: unless-stopped - network_mode: host + - /path/to/cache:/config/cache + - /path/to/transcodes:/config/data/transcodes + - /path/to/datas:/data/:ro + extra_hosts: + - 'host.docker.internal:host-gateway' devices: - - /dev/dri/renderD128:/dev/dri/renderD128 - + - /dev/dri/:/dev/dri/ + \ No newline at end of file diff --git a/jellyfin_old.yaml b/jellyfin_old.yaml new file mode 100644 index 0000000..01739ff --- /dev/null +++ b/jellyfin_old.yaml @@ -0,0 +1,28 @@ +--- +version: "2.1" + +services: + jellyfin: + image: lscr.io/linuxserver/jellyfin:latest + container_name: jellyfin + group_add: + - "109" #getent group render | cut -d: -f3 + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/Budapest + - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel + volumes: + - /docker/jellyfin:/config + - /path/to/films:/data/films + - /path/to/series:/data/series + ports: + - 8096:8096 + #- 8092:8920 #optional + - 7359:7359/udp #optional + - 1900:1900/udp #optional + restart: unless-stopped + network_mode: host + devices: + - /dev/dri/renderD128:/dev/dri/renderD128 +