Guides · Yarr Media

Install Yarr Media on a NAS

Run Yarr Media on a Synology, QNAP, Unraid, TrueNAS or OpenMediaVault box with a ready-made Compose file or Unraid template. Your media share stays read-only.

About 20 minutes

Which NAS works

  • Synology: DSM 7.2 or newer with Container Manager, on Intel/AMD or 64-bit ARM models. 32-bit ARM models can't run it.
  • QNAP: QTS 5 or QuTS hero 5 with Container Station 3.
  • Unraid: 6.12 or newer.
  • TrueNAS SCALE / Community Edition: 24.10 "Electric Eel" or newer. Earlier versions and TrueNAS CORE can't run it.
  • OpenMediaVault: 7 with the compose plugin, including a Raspberry Pi 4/5 on a 64-bit OS.

Each template is tested automatically as that NAS's own media user with the media share read-only: playback, conversion and updates. It has not yet been tested on every NAS model. If something doesn't work on yours, e-mail support@yarr.media with a support report.

1. Get the files

Download: compose.yaml, nas.env.example, the Unraid template and, only for Pro remote access, the Caddyfile. The full NAS guide has screen-by-screen steps for each NAS.

2. Pick the user id

Yarr Media runs as a NAS user that can read your media share and write its own data folder:

  • Synology / QNAP: make a user yarr with read access to your video share; id yarr over SSH shows its numbers, for example 1030:100.
  • Unraid: 99:100 (already set in the template).
  • TrueNAS: the built-in apps user, 568:568. Give it read access to the media dataset.
  • OpenMediaVault: the user that owns the shared folder.

Create the data folder and give it to that user, for example sudo mkdir -p /volume1/docker/yarr-media/data && sudo chown 1030:100 /volume1/docker/yarr-media/data.

3. Start it

  • Synology: put compose.yaml and a .env made from nas.env.example in /volume1/docker/yarr-media, then Container Manager → Project → Create and use the existing file.
  • QNAP: Container Station → Applications → Create, paste compose.yaml with your paths and user id filled in.
  • Unraid: copy the template to /boot/config/plugins/dockerMan/templates-user/, then Docker → Add Container → Template: yarr-media.
  • TrueNAS: Apps → Discover Apps → ⋮ → Install via YAML, paste compose.yaml with your values.
  • OpenMediaVault: Services → Compose → Files → Add, paste compose.yaml and the values from nas.env.example.

Then open http://NAS-IP:8787 and add your libraries in Settings → Libraries (your share appears as /media). Port 8787 is for your home network only. Never forward it on your router.

Hardware conversion

Intel NAS models (for example Synology "+" models and most Intel QNAPs) can use Quick Sync: uncomment the devices and group_add lines in compose.yaml. Most playback is direct play and needs no conversion.

Watch away from home (Pro)

Most NAS web interfaces already use port 443. Set YARR_HTTPS_PORT=8443, start with the remote profile (COMPOSE_PROFILES=remote), and on your router forward external TCP 443 to the NAS at port 8443. Then pair the server as in Watch away from home (Pro).

Updates, rollback and uninstalling

  • Update: pull the image again and re-create the container. Your libraries, watch history and settings live in the data folder and are kept.
  • Back up: stop the container and copy the data folder before a big update.
  • Roll back: put the copied data folder back and set the image to the previous version, for example YARR_CHANNEL=0.17.31.
  • Uninstall: remove the project or container and delete the data folder. Your media share is never changed.