Skip to main content

Jellyfin (official)

Create /config and /cache

Give them permission for your user (here 998:100) as well ass your media folders :

chown -R 998:100 /config
chown -R 998:100 /cache
etc...

Deploy

version: "3.5"
services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin_off
    user: 998:100
    network_mode: "host"
    volumes:
      - /srv/path/Files/Jellyfin/config:/config
      - /srv/path/Files/Jellyfin/cache:/cache
      - /srv/path/Files/Jellyfin/tvshows:/tvshows
      - /srv/path/Files/Jellyfin/movies:/movies
      - /srv/path/Files/Jellyfin/docus:/docus
      - /srv/path/Music:/music
    restart: "unless-stopped"
    # Optional - alternative address used for autodiscovery
 #  environment:
    #  - JELLYFIN_PublishedServerUrl=http://example.com

Full HD h264 is the absolut maximum a Raspberry Pi 4 can handle for transcoding. Everything above must be played directly because the hardware isn't good enough.
https://www.reddit.com/r/jellyfin/comments/rqzecj/how_to_get_jellyfin_to_transcode_on_raspberry_pi_4/