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.
sudo apt update && sudo apt upgrade -ycurl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh
sudo apt install docker-compose-pluginsudo usermod -aG docker $USERsudo systemctl enable dockersudo rebootdocker run hello-worldmkdir ~/docker mkdir ~/docker/jellyfin
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.).
From within ~/docker/jellyfin run:
docker compose up -d
docker logs jellyfin
Open your browser and go to http://<your-pi>:8096
If you find my content useful, please consider supporting this page: