Jellyfin Docker Compose is Brilliant

After the little snafu of DuckDuckGo’s Assist box showing non-official directions, I tried the Docker Compose install and, with just a little set up.

My docker-compose.yml here. Most of the changes are commenting out the user, running it as root, and hiding the environment configuration for now.

Also note using the Plex media folder for everything, which is not the best idea. Here permissions wasn’t an issue, running as root, but probably should move things around and have this properly organized. For now though, everything gets dumped in there.

So far, using Jellyfin as a music streamer with a specific client, Finamp, works great.

services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    # user: plex:plex
    ports:
      - 8096:8096/tcp
      - 7359:7359/udp
    volumes:
      - ./config:/config
      - ./cache:/cache
      - type: bind
        source: /var/lib/plexmediaserver/Library/audio/
        target: /media
      # Optional - extra fonts to be used during transcoding with subtitle burn-in
    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'

Updated and Retried on 25.04 11/04/25

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *