Jellyfin, the free and fully self-hosted alternative to Plex. We run Plex day to day, so this one’s written straight: accurate, tested steps, without pretending it’s what’s actually serving our library.
jellyfin/jellyfin image.
Step 1. Make the folders
Same pattern as the Plex guide. A docker/jellyfin folder in File Station with config and cache subfolders inside it, kept separate from the media library.
Step 2. The compose file
In Container Manager → Project → Create, point it at docker/jellyfin and use this, adjusting the media path to match your setup:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
environment:
TZ: America/Chicago
volumes:
- /volume1/docker/jellyfin/config:/config
- /volume1/docker/jellyfin/cache:/cache
- /volume1/media:/data
ports:
- "8096:8096"
restart: unless-stopped
network_mode: host for normal web-client use. Straight port mapping works fine. Jellyfin’s own docs recommend host networking specifically for DLNA auto-discovery, so skip it unless you actually need that.Step 3. Finish setup in the browser
Deploy the project, then go to http://YOUR_NAS_IP:8096. Jellyfin’s first-run wizard runs entirely locally, with no account on a third-party service, which for a lot of people is the entire point. Set your admin account, point it at the /data path you mapped, name your libraries, let it scan.
Step 4. Hardware transcoding, if you need it
Jellyfin’s hardware acceleration lives in Dashboard → Playback, and it’s available to everyone. No Plex Pass equivalent required, which is a real difference from Plex.
Whether it actually works comes down to your NAS having a supported hardware encoder and that encoder being exposed into the container correctly. Check your specific Synology model before assuming it’s there.
Step 5. Name your files so the scanner can read them
More “Jellyfin didn’t find my media” problems are naming than anything else. The scanner matches against online metadata providers, and it needs the title and year to do that.
Films want one folder per film:
/data/movies/Arrival (2016)/Arrival (2016).mkv
TV wants show, then season:
/data/tv/Severance/Season 01/Severance S01E03.mkv
The year in brackets is doing real work on films, because it disambiguates remakes. For TV, the SxxExx pattern is what the episode matcher keys on. Release-group names with dots and tags in them often still match, but they’re why you get an episode filed under the wrong season.
Step 6. Check whether it’s actually direct playing
This is the single most useful thing to know about your own setup, and almost nobody checks it.
Play something, then open Dashboard → Activity while it runs. Each stream says either Direct Play, Direct Stream or Transcode.
- Direct Play means the file is going out untouched. Nearly free. This is what you want.
- Direct Stream means the container is being rewrapped but the video isn’t re-encoded. Cheap.
- Transcode means the server is re-encoding video in real time. This is the expensive one, and it’s what pegs a NAS CPU.
Test it from the worst case you actually have: the oldest TV in the house, or a phone on mobile data from outside the network. If that still says Direct Play, you don’t need hardware transcoding and can ignore the previous step entirely.
If it transcodes, the reason is usually one of three things. The client can’t decode the codec, the subtitles are an image format that has to be burned into the picture, or you’ve capped the quality in the client’s own settings and it’s honouring that.
When it doesn’t work
Libraries scan but find nothing. Almost always permissions. The container runs as a user that needs read access to the media path, and Synology’s shared folder permissions don’t automatically grant that. Check the folder’s permissions in DSM rather than assuming the mapping is wrong.
Playback stutters only on one device. That device is transcoding while others direct play. Check Activity while it happens rather than guessing at network problems.
Hardware acceleration is on but the CPU still spikes. The encoder isn’t reaching the container. The device has to be passed through explicitly, and enabling the setting in Jellyfin doesn’t do that by itself.
Remote access works for you and nobody else. You’re reaching it over the local network and they aren’t. That’s the reverse proxy or VPN question, and it’s genuinely the hardest part of running Jellyfin. Don’t forward port 8096 to the internet to solve it.
That closes out the media-server half of this series. Both solve the same problem differently. Plex leans on a company’s infrastructure and polish, Jellyfin keeps everything local and hands you the work. Worth knowing both even if you only run one.
Switching over rather than starting fresh? There’s a dedicated guide for pulling your watch history across: migrating from Plex to Jellyfin.
One thing neither protects you from is losing the NAS itself. Next: Backups and Snapshots →