Jellyfin: Installation per Docker

Docker

Nachfolgend das Docker Compose-File für die Installation und Nutzung von Jellyfin

services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    # Optional - specify the uid and gid you would like Jellyfin to use instead of root
    # user: uid:gid
    user: 1000:10
    ports:
      - 8096:8096/tcp
      - 7359:7359/udp
    volumes:
      # - /path/to/config:/config
      - /volume1/docker/jellyfin/config:/config
      # - /path/to/cache:/cache
      - /volume1/docker/jellyfin/cache:/cache
      - type: bind
       # source: /path/to/media
        source: /volume1/docker/jellyfin/media
        target: /media
        read_only: true
      # - type: bind
       # source: /path/to/media2
       # target: /media2
       # read_only: true
      # Optional - extra fonts to be used during transcoding with subtitle burn-in
      #- type: bind
       # source: /path/to/fonts
       # target: /usr/local/share/fonts/custom
       # read_only: true
    restart: 'unless-stopped'
    # Optional - alternative address used for autodiscovery
    environment:
      - JELLYFIN_PublishedServerUrl=http://example.com
    # Optional - may be necessary for docker healthcheck to pass if running in host network mode
    extra_hosts:
      - 'host.docker.internal:host-gateway'

user: uid:gid muss bei einem UGREEN NAS per SSH herausgefunden werden:

Die UID ist also 1000 und GID 10 (admin-Gruppe).