This reverts commit 63a2a4bc62.
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 |
| Seerr | Request UI (successor of Jellyseerr) | https://seerr.smokyzone.de |
| Sonarr | TV shows | https://sonarr.smokyzone.de |
| Radarr | Movies | https://radarr.smokyzone.de |
| Prowlarr | Indexer manager, syncs indexers to Sonarr/Radarr | https://prowlarr.smokyzone.de |
| SABnzbd | Usenet download client | https://sabnzbd.smokyzone.de |
| Bazarr | Subtitles | https://bazarr.smokyzone.de |
| 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.
ingress-nginx listens on the node's ports 80/443 (hostPort), so no port is needed; the
old NodePort URLs (:30444) keep working.
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 "Serien"
├── movies # Radarr root folder, Jellyfin library "Filme"
└── anime
├── tv # Sonarr anime root folder, Jellyfin library "Anime"
└── movies # Radarr anime root folder, Jellyfin library "Anime-Filme"
Languages
Configured in the apps (not in this chart):
- Sonarr/Radarr custom formats
German DL(release titleGerman ... DL/ML),German,Japanese,English(language conditions). Scores add up. - Profile
HD-1080p(normal movies/series): German DL 2000, German 1500, English 500. Upgrades on, until a German release is present (cutoff score 1500). Radarr profile language isAny(the defaultOriginalwould reject German releases of foreign films). - Profile
Anime HD-1080p: German DL 2000, German 1500, Japanese 1000, English 500. - Seerr sends anime to the anime profile and the
anime/root folders, with season folders. - Jellyfin user preference: audio
ger, subtitlesger, subtitle mode Smart (subtitles only when the audio is not German).
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>).
- 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→ foldertv,movies→ foldermovies. - Copy the API key (Config → General).
- Config → Folders: Temporary
- 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, port8080, API key, categorytv/movies. - Copy the API key (Settings → General).
- Settings → Media Management: root folder
- Prowlarr - add your Usenet indexer(s).
- Settings → Indexers: add a FlareSolverr proxy (
http://flaresolverr:8191, tagflaresolverr) only if an indexer needs it. - Settings → Apps: add Sonarr (
http://sonarr:8989) and Radarr (http://radarr:7878) with their API keys; Prowlarr serverhttp://prowlarr:9696.
- Settings → Indexers: add a FlareSolverr proxy (
- 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.
- Dashboard → Playback → Transcoding: Hardware acceleration Intel QuickSync (QSV)
(or VAAPI, device
- Bazarr - connect Sonarr (
sonarr:8989) and Radarr (radarr:7878) with their API keys, add subtitle providers and languages. - 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.yamlto upgrade. - The node disk is shared with the rest of the cluster. Watch free space
(
df -h /srv/mediaon loki); to add a dedicated disk later, mount it at/srv/media.