Jellyfin on Synology with Docker: Setup Guide and the Transcoding Catch
Install Jellyfin on a Synology NAS with Docker Compose: folder layout, the exact compose file, library setup, and the hardware transcoding catch to know first.
Updated
Jellyfin on the NAS You Already Own
If your movies and shows already live on a Synology NAS, Jellyfin is the easiest way to turn that storage into a proper media server: free, open source, no premium tier, and no account on anyone else's service. It runs beautifully in Docker on Synology — with one catch you need to know about before you build your library around it. This guide covers the install, the exact compose file, and that catch.
Before You Start: The Transcoding Catch
Transcoding — converting a video on the fly because a playback device can't handle the original format — is where NAS CPUs go to suffer. Whether it matters to you depends entirely on which Synology you own:
- Intel-based models (like the DS920+ or DS423+) have integrated graphics with Quick Sync. Pass
/dev/drito the container and Jellyfin will transcode in hardware, barely touching the CPU. - AMD-based models — including the popular DS1522+ with its Ryzen R1600 — have no integrated GPU at all. There is no
/dev/drito pass. Every transcode is done in software, on a modest embedded CPU.
What that means in practice on an AMD Synology:
- Direct play is perfect. If your TV, streaming box, or tablet can decode the file as-is (most modern devices handle H.264 and HEVC in MKV or MP4 containers), the NAS just serves the file. CPU use is near zero, and 4K works fine.
- Software transcoding is limited. One 1080p transcode is doable. A 4K-to-1080p transcode will pin the CPU and still stutter.
- The fix is your clients and your files, not a setting. Use the native Jellyfin app (or a good third-party client) on your playback devices instead of a web browser, keep files in widely compatible formats, and beware burned-in subtitles — image-based subtitles that need burning in force a transcode every time. Text subtitles don't.
Know this going in and a DS1522+ is a genuinely good Jellyfin host. Ignore it and you'll blame the software for a hardware limit.
Folder Layout
Keep the Jellyfin configuration on the NAS itself, and mount your media read-only — Jellyfin never needs to write to your library:
/volume1/docker/jellyfin/config→ container config, database, metadata/volume1/tvshows→ mounted at/tvshows, read-only/volume1/movies→ mounted at/movies, read-only
The Docker Compose Setup
Install Container Manager from Package Center if you haven't already, create the config folder above, and use this compose file:
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1026
- PGID=100
- TZ=America/New_York
volumes:
- /volume1/docker/jellyfin/config:/config
- /volume1/tvshows:/tvshows:ro
- /volume1/movies:/movies:ro
ports:
- 8096:8096
restart: unless-stopped
The details that matter:
- PUID and PGID tell the container which Synology user to run as. They must belong to a user that can read your media folders, or your libraries will scan as empty. The values above (1026/100) are the first user and the users group on many Synology systems — check yours under Control Panel or via SSH with
id. :roon the media mounts protects your library. Jellyfin can read everything and change nothing — no accidental deletions, no metadata files scattered through your folders.- No
/dev/driline — deliberate on an AMD model, for the reasons above. On an Intel model you'd add/dev/dri:/dev/drias a device to unlock hardware transcoding. - Port 8096 is Jellyfin's web interface. Everything happens there.
Bring it up with docker compose up -d (or as a Project in Container Manager), then open http://<your-nas-ip>:8096.
First-Run Setup
- The setup wizard asks for a language and creates your admin account — this is a local account, stored only on your NAS.
- Add libraries using the container paths: TV shows point at
/tvshows, movies at/movies. (A classic beginner mistake is browsing for the host paths — inside the container, only the mounted paths exist.) - Let the first scan finish. On a big library, metadata and artwork download takes a while; that's a one-time cost.
- Create separate regular users for family members if you want individual watched-state and optional per-user rules — including, on an AMD NAS, disallowing transcoding for users whose devices can direct play.
Living With It
- It coexists with Plex. Both servers can read the same media folders at the same time (that's another reason for read-only mounts), so you can trial Jellyfin without disturbing an existing Plex setup.
- Back up the config folder, not the media mappings. Everything Jellyfin knows — users, libraries, watched state — is in
/volume1/docker/jellyfin/config. Include it in your normal NAS backup job. - Updates are a pull away. The
latesttag plusdocker compose pull && docker compose up -dkeeps you current; the config volume carries your whole setup across. - Remote access: Jellyfin can be reached away from home through your VPN (Tailscale or WireGuard) without exposing port 8096 to the internet — the safer default for a media server.
The Bottom Line
Jellyfin on Synology is a ten-minute install and a zero-dollar media server. On Intel models it's close to perfect out of the box. On AMD models like the DS1522+, it's just as good — provided you respect the one rule the hardware imposes: direct play everything you can, and treat transcoding as the exception. Set it up that way and the NAS you already own is the only media server you need.