Anime series (338) can't use WEB-1080p: it only allows WEB, so anime
BD encodes would be rejected. All Sonarr anime series + anime import
lists now use [Anime] Remux-1080p; standard series use WEB-1080p,
movies use HD Bluray + WEB. Ultra-HD items were left alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
recyclarr v8 silently exits on duplicate instance names across services
(both were `main`), and the Sonarr WEB-1080p profile trash_id was
garbled (33 chars). Rename to sonarr-main/radarr-main and use
72dae194fc92bf828f32cde7744e51a1 from the TRaSH guide JSON.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
./recyclarr resolved to /data/compose/10/... (the Portainer-internal
path), so recyclarr has run against an empty /config since 2026-06-17
and never synced TRaSH profiles. The config is now copied to
/config/recyclarr on the host.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A relative bind resolves to /data/compose/10/... (the path inside the
Portainer container), so Docker bound an empty host dir and the job had
no script. Use the absolute /config/mam-bonus/buy-upload.sh like the
backup stack does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spends MAM bonus points once a day (04:17) on upload credit via
json/bonusBuy.php (spendtype=upload, "Max Affordable ") so seedbonus
never caps out. Dedicated MAM session; rotated mam_id is persisted in a
curl cookie jar under /config/mam-bonus. Skips when below the 50 GiB
minimum; failures alert ntfy topic `mam`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Trakt "latest-anime" import list in Sonarr has silently added nothing
since its OAuth token lapsed on 2024-12-02. Courarr builds seasonal lists
straight from AniList (no key, no OAuth), maps them to TVDB via
Fribb/anime-lists, and serves them as Sonarr Custom List feeds at
http://courarr:6161/feed/<slug> over the media network.
courarr.ginnoir.com is internal-only behind Authentik forward auth
(provider homelab-courarr, pk 49); /api and /feed skip SSO.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
autobrr's {{ .Category }} renders as "Audiobook/Non-Fiction", so the save
path is <Category>/<SubCategory>/<Author>/<Title>; indexing from the front
would have filed books under the subcategory as author.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AutoRun now runs on-complete.py: it keeps the cross-seed webhook and, for
category mam (autobrr MyAnonamouse filter), hardlinks audiobooks into the
ABS library and copies ebooks into the CWA ingest folder (CWA edits and then
deletes ingest files, so a hardlink would corrupt the seed). Host copy lives
at /config/qbittorrent/scripts/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Switch storyteller to the amd64-cuda-12.9.0 image with the P100 via CDI.
Tested on a 2-min clip: 3.9 s on GPU vs 25 s on the CPU build. The whisper
build lacks sm_60 kernels, so persist the PTX JIT cache under /data.
CUDA images are SHA-tagged only, so pin the tag and exclude from Watchtower.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- autobrr service in the media stack (media + edge nets, /config/autobrr),
native OIDC via Authentik provider homelab-autobrr (pk 48, ginnoir-only
binding); built-in login disabled.
- Caddy: autobrr.ginnoir.com, internal_only, no forward_auth.
- Bookmarks regenerated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- qbittorrent: torrent port 6881 -> 43817 (6881-6889 is banned on many
private trackers), plus a same-path /storage1 mount so cross-seed
hardlinks resolve identically in both containers.
- cross-seed v6 daemon on the media net; config.js is host-managed at
/config/cross-seed and reads API keys from stack.env. Starts in
action "save" (dry run) against TorrentLeech.
- Plan: docs/superpowers/plans/2026-10-18-cross-seed-autobrr.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Current Audiobookshelf serves under /audiobookshelf, so it sends
/audiobookshelf/auth/openid/callback, which Authentik rejected. Add the
prefixed callback + mobile-redirect URIs, and have setup-books-auth.py
sync redirect URIs on existing providers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Authentik's default email scope hardcodes email_verified=false, which
Chaptarr's OIDC rejects. Chaptarr gets its own verified email mapping,
and the app is bound to the ginnoir user so the email allowlist can't
be matched by another account.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chaptarr has built-in OIDC (/signin-oidc), so per the auth standard it
gets Pattern A: new homelab-chaptarr OAuth2 provider, old forward_auth
proxy provider removed, Caddy block reduced to internal_only + proxy.
setup-books-auth.py now handles both OIDC apps generically.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds idempotent scripts/run-books-auth.sh (ak shell) that creates
forward_single proxy providers for chaptarr/books/storyteller on the
embedded outpost and the homelab-audiobooks OIDC provider. Records the
ABS client credentials in media stack.env and marks host prep done.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chaptarr grabs ebooks into the CWA ingest folder and audiobooks into the
ABS library; Storyteller reads both read-only for read-along alignment.
All four are internal_only; chaptarr/CWA/storyteller use forward_auth,
ABS uses native OIDC. Adds STORYTELLER_SECRET_KEY to stack.env and a
BOOKS.md runbook (host prep, Authentik, post-deploy checklist).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sonarr/radarr/prowlarr/whisparr/bazarr were hitting the default Docker
nofile limit of 1024, causing EMFILE errors and excessive virtiofsd FD
churn on the /storage1 virtiofs mount.
Image moved from ghcr.io/jorenn92/maintainerr to ghcr.io/maintainerr/maintainerr
with the v3.x release series. v3 runs its own DB migrations on startup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace sctx/overseerr:latest with ghcr.io/seerr-team/seerr:latest.
Same port (5055), same config volume (/config/overseerr:/app/config) —
Seerr auto-migrates the DB on first boot. Add init: true as required.
Rename container overseerr → seerr; update Caddy upstream to match.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Mount /config/maintainerr to /opt/data (actual DB location, not /opt/maintainerr/data)
- Add NODE_TLS_REJECT_UNAUTHORIZED=0 so Node.js accepts Plex's self-signed cert
- Mark TB-007/008/009/012/013/016 tasks as done/dropped in improvement plan
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add Recyclarr to the media stack, pin database/object-store/Caddy/Vault images with Watchtower disabled, expose JDownloader at jd.ginnoir.com, and restrict minio/homarr/docs to internal_only. Mark TB-002–004 and TB-033 complete; bundle batch-3 OIDC env for FreshRSS, ownCloud, and Reactive Resume.
Every service now reads stack.env via env_file with container-exact var
names — no ${VAR} parse-time interpolation, no Portainer UI env vars
(except stacks/dev, kept on UI-env interpolation as documented exception).
- media: drop PUID/PGID/TZ env lines (env_file covers); resolve ${ROOT}
- foundry: secrets via env_file; FOUNDRY_PATCH_URLS -> CONTAINER_PATCH_URLS
- monitoring: HOMARR_SECRET_ENCRYPTION_KEY -> SECRET_ENCRYPTION_KEY
- notify: FRESHRSS_USER composed in stack.env; TZ via env_file
- owncloud: container-exact OWNCLOUD_*/MYSQL_* keys; runtime $$ healthcheck
- resume/famapp: composites (DATABASE_URL etc.) written out in stack.env
- authentik: container-exact keys; image tag pinned in compose
- notes: couchdb creds via env_file
- remote: gains stack.env (no secrets; convention completeness)
- CLAUDE.md: env convention, valhalla-lab registration-only note, correct
on-host Portainer working-copy path (/config/portainer/compose/<id>)
Validated with docker compose config on valhalla for all 15 stacks.
Portainer git-stack deployments require an explicit env_file reference
in the compose file to load variables from the repo's stack.env.
Adds env_file: [stack.env] before every service-level environment:
block across all 10 stacks.
Portainer git-stack deploys require stack.env (not .env) in the repo.
Renames all stacks/*/. env → stacks/*/stack.env so Portainer reads
secrets directly from git on each redeploy, making the repo the single
source of truth instead of requiring manual UI sync.
Also fixes the dev stack BOOKSTACK_APP_KEY gap — the key was already
present in the file but missing from Portainer's stored envVars; it
will now be picked up automatically from stack.env on next redeploy.
Updates CLAUDE.md to reflect the new filename convention.
Add stacks/<domain>/ compose + env for the 11 target stacks (proxy, media,
foundry, owncloud, resume, famapp, authentik, notify, monitoring, remote, dev).
Each app stack joins a shared external `edge` network for Caddy and keeps its
DB/cache co-located (no shared backing services). All named volumes convert to
tiered bind mounts: DBs/configs -> /config (SSD), blobs/repos/registry ->
/storage1/labdata (ZFS). Gitea repos+LFS split to ZFS.
Move Vault into the management plane (portainer-compose.yml) and add the shared
`edge` network there. apply-compose.ps1 -Portainer now also pushes vault.hcl.
Additive only: root docker-compose.yml/.env/Caddyfile untouched, so the live
monolith is unchanged. Live cutover (Phase B) is next.