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>
This commit is contained in:
ginnoirandClaude Opus 5.5 committed 2026-10-18 02:44:32 -05:00
1 parent 601a9d8545
commit ca00f8899d
6 files changed
+205

No files matched your search

+55
View File
@@ -275,6 +275,61 @@ stash.ginnoir.com {
}
}
# BOOKS — chaptarr / CWA / storyteller behind forward_auth; ABS uses native OIDC
# (forward_auth would break the mobile app). All internal_only — remote access
# is via the tailnet (100.64.0.0/10 is already allowed by internal_only).
chaptarr.ginnoir.com {
import internal_only
route {
import authentik_outpost
handle /api/* {
reverse_proxy chaptarr:8789
}
handle {
import authentik_forward_auth
reverse_proxy chaptarr:8789
}
}
}
books.ginnoir.com {
import internal_only
route {
import authentik_outpost
# OPDS + Kobo sync clients authenticate with CWA's own credentials.
handle /opds* {
reverse_proxy calibre-web-automated:8083
}
handle /kobo/* {
reverse_proxy calibre-web-automated:8083
}
handle {
import authentik_forward_auth
reverse_proxy calibre-web-automated:8083
}
}
}
audiobooks.ginnoir.com {
import internal_only
reverse_proxy audiobookshelf:80
}
storyteller.ginnoir.com {
import internal_only
route {
import authentik_outpost
# Storyteller Reader app talks to the API with its own tokens.
handle /api/* {
reverse_proxy storyteller:8001
}
handle {
import authentik_forward_auth
reverse_proxy storyteller:8001
}
}
}
# =============================================================
# GAMES / ROMS — internal only
# External access for a trusted friend is via the `share` stack's Tailscale