diff --git a/CLAUDE.md b/CLAUDE.md index ed46414..67b282f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -16,7 +16,7 @@ Deployment configuration for a **live, single-host Docker homelab** running on a . ├── stacks/ # one directory per Portainer-managed application stack │ ├── proxy/ # caddy -│ ├── media/ # *arr stack, deluge, qbittorrent, stash, ... +│ ├── media/ # *arr stack, qbittorrent, cross-seed, autobrr, stash, ... │ ├── foundry/ # foundry, foundry2 (5etools is Caddy static files) │ ├── owncloud/ # owncloud + its mariadb + redis │ ├── resume/ # reactive-resume + its postgres + minio + chrome diff --git a/docs/superpowers/plans/2026-10-18-cross-seed-autobrr.md b/docs/superpowers/plans/2026-10-18-cross-seed-autobrr.md index 0ecc5f1..1697bb3 100644 --- a/docs/superpowers/plans/2026-10-18-cross-seed-autobrr.md +++ b/docs/superpowers/plans/2026-10-18-cross-seed-autobrr.md @@ -202,4 +202,19 @@ Compose: the category's `-1` on qBittorrent 5.x; the first 7 were also set to `-1` per torrent (`setShareLimits` needs `shareLimitAction` or it 400s). **Check in ~10 days** that new cross-seeds aren't stopped at ratio 1 / 10 d (global action = Stop). -- **Next:** Phase 3 (autobrr) once TL IRC nick/key are ready. +- **Phase 3 deployed (2026-10-18):** autobrr v1.88.0, Authentik provider `homelab-autobrr` (pk 48, + app slug `autobrr`, ginnoir-only user binding), built-in login disabled (OIDC only; onboarding is + skipped when OIDC is on). Caddy `autobrr.ginnoir.com` internal_only. Scripted-ops API key = + `AUTOBRR_API_KEY` (inserted straight into the `api_key` table; header `X-API-Token`). API routes: + `/api/downloaders` (not download_clients); filter POSTs need every array field as `[]` or SQLite + NOT NULL fails. + - Download client 1 = qbit (same login), rules: 3 active max, ignore slow when maxed. + - qbit category `autobrr` → `/storage1/complete/autobrr`, ratio 2 **or** 14 d → + **RemoveWithContent** (cross-seeded copies survive via their own hardlinks). + - Filter 1 **TL freeleech** (prio 10): freeleech, 1–20 GB, 1080p/2160p, 5/day → qbit + cross-seed + announce webhook. Filter 2 **cross-seed announce (all)** (prio 0) → webhook only. Both created + **disabled with no indexer**; they need TL attached. + - Uptime Kuma monitor 82 (`/api/healthz/liveness`). No cross-seed monitor yet: the MCP + `createMonitor` can't set `docker_container`. +- **Remaining (ginnoir):** in autobrr → Settings → Indexers → add TorrentLeech (IRC nick, NickServ + password, IRC/announce key, RSS key), tick TL in both filters, enable them. Watch the first grab. diff --git a/stacks/media/stack.env b/stacks/media/stack.env index 11e5ce0..040e153 100644 --- a/stacks/media/stack.env +++ b/stacks/media/stack.env @@ -36,3 +36,6 @@ AUTOBRR__OIDC_CLIENT_ID=Gz9Ip2b2lTOaGewfkaIi07fjlhz05RTST8DLei5I AUTOBRR__OIDC_CLIENT_SECRET=sX0qXKzdBiE9N8QGN5LM2x29xxI1Hs2lAhMdnN2qsatp43SQep83LHFTzepHaDD3F2GOBc14oFoLL2EUJyCSk8Pfz8NIHascAnztHNKGk5hdrXAyIUCE7S37twHQRNIF AUTOBRR__OIDC_REDIRECT_URL=https://autobrr.ginnoir.com/api/auth/oidc/callback AUTOBRR__OIDC_DISABLE_BUILT_IN_LOGIN=true + +# autobrr API key for scripted ops (row "homelab-ops" in api_key table) +AUTOBRR_API_KEY=3076c984c78d9ef477228379faea6b04