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

+78
View File
@@ -196,6 +196,84 @@ services:
ports:
- "6971:6970"
# ============================================================ BOOKS
# Prowlarr -> chaptarr -> qbittorrent/nzbget (/storage1/complete). Chaptarr
# imports ebooks into the CWA ingest folder (CWA owns the Calibre library and
# deletes ingested files) and audiobooks straight into the ABS library.
# Storyteller reads both libraries read-only and writes aligned EPUBs to its
# own /data. Readarr is retired upstream — do not add it.
chaptarr:
container_name: chaptarr
image: chaptarr/chaptarr:latest
restart: unless-stopped
networks: [media, edge]
env_file:
- stack.env
ulimits:
nofile: { soft: 65536, hard: 65536 }
environment:
- UMASK=002
volumes:
- /config/chaptarr:/config
- /storage1/complete:/downloads
- /storage1/complete/books-ingest:/ebooks
- /storage1/Media/Audiobooks:/audiobooks
ports:
- "8789:8789"
calibre-web-automated:
container_name: calibre-web-automated
image: crocodilestick/calibre-web-automated:latest
restart: unless-stopped
networks: [media, edge]
env_file:
- stack.env
environment:
- NETWORK_SHARE_MODE=false
volumes:
- /config/calibre-web-automated:/config
- /storage1/complete/books-ingest:/cwa-book-ingest
- /storage1/Media/Books:/calibre-library
ports:
- "8083:8083"
audiobookshelf:
container_name: audiobookshelf
image: ghcr.io/advplyr/audiobookshelf:latest
restart: unless-stopped
networks: [media, edge]
env_file:
- stack.env
volumes:
- /config/audiobookshelf/config:/config
- /config/audiobookshelf/metadata:/metadata
- /storage1/Media/Audiobooks:/audiobooks
ports:
- "13378:80"
storyteller:
container_name: storyteller
image: registry.gitlab.com/storyteller-platform/storyteller:latest
restart: unless-stopped
networks: [media, edge]
env_file:
- stack.env # STORYTELLER_SECRET_KEY lives here
volumes:
- /storage1/labdata/storyteller:/data
- /storage1/Media/Books:/libraries/books:ro
- /storage1/Media/Audiobooks:/libraries/audiobooks:ro
ports:
- "8001:8001"
# Whisper runs on CPU until the P100s land. Then add (and check upstream's
# GPU Acceleration docs for the CUDA image tag):
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
networks:
media:
name: media