Jellyfin

Install Jellyfin on Dcoker

This guide provides a Docker Compose YAML file to deploy a Jellyfin media server.

Prerequisites

Setup

  1. Create a directory for your Jellyfin setup (e.g., mkdir jellyfin && cd jellyfin).
  2. Ensure the local storage paths (e.g., /mounted/local/storage/location) exist on your host system and have appropriate permissions (e.g., owned by user/group with IDs 1001).
  3. Create a docker-compose.yml file in the directory.

Docker Compose YAML

yaml


version: "3"
services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1001
      - PGID=1001
      - TZ=America/Los_Angeles
    volumes:
      - /home/user/jellyfin/config:/config
      - /home/user/jellyfin/cache:/cache
      - /home/user/jellyfin/media:/media
    ports:
      - 8098:8096
    restart: unless-stopped

Running the Service

  1. In the directory containing docker-compose.yml, run:
    docker-compose up -d
  2. Access Jellyfin by navigating to http://<your-server-ip>:8092 in a web browser.

Notes