Jellyfin (QuickSync), Sonarr, Radarr, Prowlarr, SABnzbd, Bazarr, Seerr and FlareSolverr in the media namespace. Shared hostPath /srv/media mounted at /data in every pod so imports are hardlinked; per-app config on local-path PVCs; LAN-only ingress via letsencrypt-dns-cloudflare. Co-Authored-By: Claude Opus 5.5 <[email protected]>
80 lines
4.0 KiB
Markdown
80 lines
4.0 KiB
Markdown
# media-gitops
|
|
|
|
Helm chart for the media stack on the single-node cluster (`loki`), deployed by ArgoCD
|
|
via the `apps-in-apps` repo into the namespace `media`.
|
|
|
|
| App | Purpose | URL |
|
|
|---|---|---|
|
|
| Jellyfin | Media server (Intel QuickSync transcoding) | https://jellyfin.smokyzone.de:30444 |
|
|
| Seerr | Request UI (successor of Jellyseerr) | https://seerr.smokyzone.de:30444 |
|
|
| Sonarr | TV shows | https://sonarr.smokyzone.de:30444 |
|
|
| Radarr | Movies | https://radarr.smokyzone.de:30444 |
|
|
| Prowlarr | Indexer manager, syncs indexers to Sonarr/Radarr | https://prowlarr.smokyzone.de:30444 |
|
|
| SABnzbd | Usenet download client | https://sabnzbd.smokyzone.de:30444 |
|
|
| Bazarr | Subtitles | https://bazarr.smokyzone.de:30444 |
|
|
| FlareSolverr | Cloudflare challenge solver for Prowlarr (in-cluster only) | `http://flaresolverr:8191` |
|
|
|
|
The hostnames resolve to the node's private IP (`192.168.2.218`) via Cloudflare DNS-only
|
|
records, so the UIs are only reachable from the LAN or through a VPN into the LAN.
|
|
Certificates come from `letsencrypt-dns-cloudflare` (DNS-01).
|
|
|
|
## Storage layout
|
|
|
|
All apps that handle files mount the node directory `/srv/media` at `/data`. Downloads
|
|
and library live on the same filesystem, so Sonarr/Radarr **hardlink** imports instead
|
|
of copying (no double disk usage):
|
|
|
|
```
|
|
/data
|
|
├── usenet
|
|
│ ├── incomplete # SABnzbd temporary folder
|
|
│ └── complete
|
|
│ ├── tv # SABnzbd category "tv"
|
|
│ └── movies # SABnzbd category "movies"
|
|
└── media
|
|
├── tv # Sonarr root folder, Jellyfin library "Shows"
|
|
└── movies # Radarr root folder, Jellyfin library "Movies"
|
|
```
|
|
|
|
The directories are created by an init container (owner `1000:1000`). Config/databases
|
|
of each app live on their own `local-path` PVC (`<app>-config`).
|
|
|
|
## First-time setup
|
|
|
|
Everything below is stored in the apps' config PVCs, not in git. In-cluster, the apps
|
|
talk to each other by service name (`http://<app>:<port>`).
|
|
|
|
1. **SABnzbd** - run the wizard, enter your Usenet provider (server, port 563, SSL).
|
|
- *Config → Folders*: Temporary `/data/usenet/incomplete`, Completed `/data/usenet/complete`.
|
|
- *Config → Categories*: `tv` → folder `tv`, `movies` → folder `movies`.
|
|
- Copy the API key (*Config → General*).
|
|
2. **Sonarr / Radarr** - set up authentication (Forms login).
|
|
- *Settings → Media Management*: root folder `/data/media/tv` (Sonarr) or
|
|
`/data/media/movies` (Radarr); keep "Use Hardlinks instead of Copy" enabled.
|
|
- *Settings → Download Clients → SABnzbd*: host `sabnzbd`, port `8080`, API key,
|
|
category `tv` / `movies`.
|
|
- Copy the API key (*Settings → General*).
|
|
3. **Prowlarr** - add your Usenet indexer(s).
|
|
- *Settings → Indexers*: add a FlareSolverr proxy (`http://flaresolverr:8191`, tag
|
|
`flaresolverr`) only if an indexer needs it.
|
|
- *Settings → Apps*: add Sonarr (`http://sonarr:8989`) and Radarr (`http://radarr:7878`)
|
|
with their API keys; Prowlarr server `http://prowlarr:9696`.
|
|
4. **Jellyfin** - run the wizard, add libraries `/data/media/tv` (Shows) and
|
|
`/data/media/movies` (Movies).
|
|
- *Dashboard → Playback → Transcoding*: Hardware acceleration **Intel QuickSync (QSV)**
|
|
(or VAAPI, device `/dev/dri/renderD128`), enable hardware decoding for H264/HEVC.
|
|
5. **Bazarr** - connect Sonarr (`sonarr:8989`) and Radarr (`radarr:7878`) with their API
|
|
keys, add subtitle providers and languages.
|
|
6. **Seerr** - sign in with Jellyfin (`http://jellyfin:8096`), then add Sonarr and Radarr
|
|
(same hosts/API keys, root folders as above).
|
|
|
|
SABnzbd only accepts whitelisted Host headers; an init container keeps `host_whitelist`
|
|
in `sabnzbd.ini` set to the ingress hostname and the in-cluster service names.
|
|
|
|
## Notes
|
|
|
|
- Jellyfin runs **privileged** to access `/dev/dri` (no GPU device plugin installed).
|
|
- Image tags are pinned; bump them in `values.yaml` to upgrade.
|
|
- The node disk is shared with the rest of the cluster. Watch free space
|
|
(`df -h /srv/media` on loki); to add a dedicated disk later, mount it at `/srv/media`.
|