327 lines
9.2 KiB
YAML
327 lines
9.2 KiB
YAML
# media stack — *arr suite, download clients, and media utilities.
|
|
# All config/data is bind-mounted to /config and /storage1 already (no named
|
|
# volumes to migrate). Services join the private `media` net for inter-app
|
|
# traffic (prowlarr<->sonarr/radarr) and `edge` so Caddy can proxy them.
|
|
#
|
|
# Env convention: every service gets stack.env via env_file; var names there are
|
|
# exactly what the containers read (PUID/PGID/TZ), so no ${VAR} interpolation
|
|
# and no Portainer UI env vars are needed. Service-specific settings stay in
|
|
# per-service environment blocks.
|
|
|
|
services:
|
|
nzbget:
|
|
container_name: nzbget
|
|
image: lscr.io/linuxserver/nzbget:latest
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- /storage1/complete:/downloads
|
|
- /config/nzbget:/config
|
|
ports:
|
|
- "6789:6789"
|
|
|
|
sonarr:
|
|
container_name: sonarr
|
|
image: lscr.io/linuxserver/sonarr:latest
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
ulimits:
|
|
nofile: { soft: 65536, hard: 65536 }
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /config/sonarr:/config
|
|
- /storage1/Media/TV:/tv
|
|
- /storage1/Media/Anime:/anime
|
|
- /storage1/complete:/downloads
|
|
ports:
|
|
- "8989:8989"
|
|
|
|
radarr:
|
|
container_name: radarr
|
|
image: lscr.io/linuxserver/radarr:latest
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
ulimits:
|
|
nofile: { soft: 65536, hard: 65536 }
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /config/radarr:/config
|
|
- /storage1/Media/Movies:/movies
|
|
- /storage1/complete:/downloads
|
|
ports:
|
|
- "7878:7878"
|
|
|
|
bazarr:
|
|
container_name: bazarr
|
|
image: lscr.io/linuxserver/bazarr:latest
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
ulimits:
|
|
nofile: { soft: 65536, hard: 65536 }
|
|
environment:
|
|
- UMASK_SET=022
|
|
volumes:
|
|
- /config/bazarr:/config
|
|
- /storage1/Media/Movies:/movies
|
|
- /storage1/Media/TV:/tv
|
|
- /storage1/Media/Anime:/anime
|
|
ports:
|
|
- "6767:6767"
|
|
|
|
prowlarr:
|
|
container_name: prowlarr
|
|
image: ghcr.io/hotio/prowlarr:latest
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
ulimits:
|
|
nofile: { soft: 65536, hard: 65536 }
|
|
environment:
|
|
- UMASK=002
|
|
volumes:
|
|
- /config/prowlarr:/config
|
|
ports:
|
|
- "9696:9696"
|
|
|
|
seerr:
|
|
container_name: seerr
|
|
image: ghcr.io/seerr-team/seerr:latest
|
|
init: true
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
environment:
|
|
- UMASK=002
|
|
volumes:
|
|
- /config/overseerr:/app/config
|
|
ports:
|
|
- "5055:5055"
|
|
|
|
tautulli:
|
|
image: ghcr.io/linuxserver/tautulli:latest
|
|
container_name: tautulli
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- /config/tautulli:/config
|
|
- /storage1/PMS:/logs
|
|
ports:
|
|
- "8181:8181"
|
|
|
|
qbittorrent:
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
container_name: qbittorrent
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
environment:
|
|
- WEBUI_PORT=3232
|
|
# 6881-6889 is banned on many private trackers; 43817 is forwarded on OPNsense.
|
|
- TORRENTING_PORT=43817
|
|
volumes:
|
|
- /config/qbittorrent:/config
|
|
- /storage1/complete:/downloads
|
|
# Same-path /storage1 mount so cross-seed's hardlinks (which must live on the
|
|
# same container mount as their source) resolve identically in both containers.
|
|
- /storage1:/storage1
|
|
ports:
|
|
- "3232:3232"
|
|
- "43817:43817"
|
|
- "43817:43817/udp"
|
|
|
|
# cross-seed: matches library files against private-tracker uploads and injects
|
|
# them into qbittorrent as hardlinks under /storage1/cross-seed-links. No web UI;
|
|
# config is host-managed at /config/cross-seed/config.js (secrets via process.env).
|
|
cross-seed:
|
|
image: ghcr.io/cross-seed/cross-seed:6
|
|
container_name: cross-seed
|
|
restart: unless-stopped
|
|
networks: [media]
|
|
user: 1000:1000
|
|
env_file:
|
|
- stack.env
|
|
command: daemon
|
|
volumes:
|
|
- /config/cross-seed:/config
|
|
- /storage1:/storage1
|
|
|
|
# autobrr: grabs freeleech uploads from tracker IRC announces into qbittorrent
|
|
# (category autobrr) and forwards every announce to cross-seed. Native OIDC via
|
|
# Authentik (homelab-autobrr, pk 48); built-in login disabled.
|
|
autobrr:
|
|
image: ghcr.io/autobrr/autobrr:latest
|
|
container_name: autobrr
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
user: 1000:1000
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- /config/autobrr:/config
|
|
ports:
|
|
- "7474:7474"
|
|
|
|
whisparr:
|
|
container_name: whisparr
|
|
image: ghcr.io/hotio/whisparr:latest
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env
|
|
ulimits:
|
|
nofile: { soft: 65536, hard: 65536 }
|
|
environment:
|
|
- UMASK=002
|
|
- WEBUI_PORTS=6969/tcp
|
|
volumes:
|
|
- /config/whisparr:/config
|
|
- /storage1:/data
|
|
ports:
|
|
- "6969:6969"
|
|
|
|
recyclarr:
|
|
image: ghcr.io/recyclarr/recyclarr:8
|
|
container_name: recyclarr
|
|
restart: unless-stopped
|
|
networks: [media]
|
|
user: 1000:1000
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- ./recyclarr:/config
|
|
|
|
stash:
|
|
image: stashapp/stash:latest
|
|
container_name: stash
|
|
restart: unless-stopped
|
|
networks: [media, edge]
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-file: "10"
|
|
max-size: "2m"
|
|
env_file:
|
|
- stack.env
|
|
environment:
|
|
- STASH_STASH=/data/
|
|
- STASH_GENERATED=/generated/
|
|
- STASH_METADATA=/metadata/
|
|
- STASH_CACHE=/cache/
|
|
- STASH_PORT=6970
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /config/stash:/root/.stash
|
|
- /storage1/LinuxISOs:/data
|
|
- /storage1/stash/metadata:/metadata
|
|
- /storage1/stash/cache:/cache
|
|
- /storage1/stash/blobs:/blobs
|
|
- /storage1/stash/generated:/generated
|
|
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
|
|
# CUDA 12.9 build so whisper runs on the P100 (~6x the CPU build). CUDA 13.x
|
|
# images drop Pascal. Upstream publishes CUDA images only as commit-SHA tags
|
|
# (no :latest), so this is pinned and out of Watchtower; bump the tag by hand
|
|
# from the registry's amd64-cuda-12.9.0 repository.
|
|
# 67260c54 = web-v3.0.0-beta.51 (main is the v3 beta; stable v2.14.23 is
|
|
# deb8bbf4). The v2->v3 DB migration ran 2026-10-18; its pre-migration
|
|
# backup is /storage1/labdata/storyteller/backups/storyteller-pre-v3-*.db.
|
|
image: registry.gitlab.com/storyteller-platform/storyteller/amd64-cuda-12.9.0:67260c54
|
|
restart: unless-stopped
|
|
labels:
|
|
- "com.centurylabs.watchtower.enable=false"
|
|
networks: [media, edge]
|
|
env_file:
|
|
- stack.env # STORYTELLER_SECRET_KEY lives here
|
|
devices:
|
|
- nvidia.com/gpu=0
|
|
environment:
|
|
# The whisper build has no sm_60 kernels, so the P100 JIT-compiles PTX on
|
|
# first use (~60 s). Persist the JIT cache so that only happens once.
|
|
- CUDA_CACHE_PATH=/data/.nv-compute-cache
|
|
- CUDA_CACHE_MAXSIZE=4294967296
|
|
volumes:
|
|
- /storage1/labdata/storyteller:/data
|
|
- /storage1/Media/Books:/libraries/books:ro
|
|
- /storage1/Media/Audiobooks:/libraries/audiobooks:ro
|
|
ports:
|
|
- "8001:8001"
|
|
|
|
networks:
|
|
media:
|
|
name: media
|
|
driver: bridge
|
|
edge:
|
|
name: edge
|
|
external: true
|