Chaptarr had /downloads, /ebooks and /audiobooks as separate bind mounts, so
hardlinks failed with EXDEV and every import was a full copy (each seeding
audiobook stored twice). Mount /storage1 once and symlink the old container
paths into it via an entrypoint wrapper, so nothing in chaptarr's DB changes.
/ebooks now points at /storage1/Media/Ebooks, chaptarr's own ebook folder.
A Custom Script hook hardlinks each new ebook into the CWA ingest folder, so
CWA deleting its ingest copy no longer makes chaptarr think the book is missing.
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>
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>