Jellyfin on Raspberry Pi

Jellyfin is a free, open‑source media server that lets you collect, manage, and stream your personal movies, TV shows, music, and photos to any device, all under your control with no subscriptions or tracking.

🔍 Key Features

🚀 Docker Installation Steps

  1. Update your system
    sudo apt update && sudo apt upgrade -y
  2. Install Docker
    curl -fsSL https://get.docker.com -o get-docker.sh
    sudo sh get-docker.sh 
  3. Install Docker Compose
    sudo apt install docker-compose-plugin
  4. Add your user to the Docker group
    sudo usermod -aG docker $USER
  5. Enable Docker at boot
    sudo systemctl enable docker
  6. Reboot
    sudo reboot
  7. Test Docker
    docker run hello-world

📁 Setup Jellyfin

mkdir ~/docker
mkdir ~/docker/jellyfin 

🧾 Docker Compose File

In ~/docker/jellyfin create docker-compose.yml

  services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    network_mode: host
    environment:
      - TZ=America/New_York   # Eastern Time
    volumes:
      - ./config:/config
      - ./cache:/cache
      - /mnt/Media:/media #This is where you have your movies, TV shows, etc.
    restart: unless-stopped

NOTE: Follow this guide to setup your media folder: Jellyfin Media Structure

In a nutshell, if /mnt/Media is where you're storing everything, you should have something like /mnt/Media/Movies, /mnt/Media/TV_Shows, etc. Under each of those you'll have a directory for each movie, TV show, etc. For example: /mnt/Movies/John_Wick_(2014) and in there would be the movie file (.mkx, etc.).

▶️ Start Jellyfin

From within ~/docker/jellyfin run:

docker compose up -d

📜 View Logs

docker logs jellyfin

🌐 Access Web Interface

Open your browser and go to http://<your-pi>:8096

If you find my content useful, please consider supporting this page:

☕ Buy Me a Coffee