services: jellyfin: image: jellyfin/jellyfin:latest container_name: Jellyfin user: 1026:100 environment: TZ: Europe/Berlin healthcheck: test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8096' || exit 1 interval: 10s timeout: 5s retries: 3 start_period: 90s volumes: - /volume2/docker/jellyfin/config:/config:rw - /volume2/docker/jellyfin/cache:/cache:rw - /volume2/docker/jellyfin/logs:/logs:rw - /volume1/video:/media:rw - /volume2/music:/music:rw restart: on-failure:5 network_mode: host ports: - "8096:8096/tcp" # http - "8920:8920/tcp" # https - "1900:1900/udp" # service auto-discovery - "7359:7359/udp" # auto-discovery