Commit Graph
9 Commits
Author SHA1 Message Date
ginnoirandClaude Opus 5.5 a92c417f03 feat(media): autobrr wired to qbit + cross-seed; ops API key; docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:36:11 -05:00
ginnoirandClaude Opus 5.5 6e9f75220a feat(media): autobrr with Authentik OIDC
Deploy Caddyfile to valhalla / deploy (push) Successful in 42s
- 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>
2026-10-18 16:28:29 -05:00
ginnoirandClaude Opus 5.5 a510504c7f fix(media): cross-seed qbit login creds in stack.env (qbit auth is on)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 15:59:22 -05:00
ginnoirandClaude Opus 5.5 ac367cc707 feat(media): cross-seed (dry-run) + move qbittorrent off the 6881 port
- 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>
2026-10-18 15:58:23 -05:00
ginnoirandClaude Opus 5.5 f92cad4d66 feat(media): chaptarr native OIDC instead of forward_auth
Deploy Caddyfile to valhalla / deploy (push) Successful in 1m23s
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>
2026-10-18 13:46:49 -05:00
ginnoirandClaude Opus 5.5 72688f48ac feat(authentik): books-stack providers + ABS OIDC client
Deploy Caddyfile to valhalla / deploy (push) Failing after 1m37s
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>
2026-10-18 02:44:32 -05:00
ginnoirandClaude Opus 5.5 ca00f8899d feat(media): add books stack (chaptarr, CWA, audiobookshelf, storyteller)
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>
2026-10-18 02:44:32 -05:00
ginnoir 7aa95fa00a refactor: pure env_file stack.env convention across all stacks
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.
2026-06-09 16:03:47 -05:00
ginnoir 441e1ee272 chore: rename stack .env files to stack.env for Portainer git stack compatibility
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.
2026-06-04 21:41:56 -05:00