Add FlareSolverr, Maintainerr, Decluttarr, Checkrr (issue #37)#38
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (3)
📝 WalkthroughWalkthroughAdds four services—FlareSolverr, Maintainerr, Decluttarr, and Checkrr—to the Docker Compose stack, introduces Decluttarr env entries in ChangesNew Media Management Services
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly Related PRs
Suggested Labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docker-compose.yml`:
- Around line 245-266: The decluttarr service is using v1 env var names
(RADARR_URL, RADARR_KEY, SONARR_URL, SONARR_KEY, REMOVE_TIMER, REMOVE_FAILED)
which v2 ignores; update the decluttarr environment to the v2 schema by
replacing REMOVE_TIMER with TIMER and REMOVE_FAILED with REMOVE_FAILED_DOWNLOADS
and convert the Radarr/Sonarr entries into structured instance blocks (SONARR
and RADARR) each containing base_url and api_key fields (e.g., SONARR: {
base_url: "http://sonarr:8989", api_key: "${SONARR_API_KEY:-}" } and similarly
for RADARR) so the latest image reads your configuration correctly while
retaining TZ and LOG_LEVEL.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: b4c4f6a5-c385-4cc9-aa7a-f9f5a063abd6
📒 Files selected for processing (4)
.env.exampleCLAUDE.mdREADME.mddocker-compose.yml
Closes part of #37 — adds *arr-adjacent services from the user's
running stack that weren't yet in the repo.
- **flaresolverr** (port 8191, media_network): Cloudflare bypass
proxy. Prowlarr is in the repo and depends on this for most
protected indexers. No env required.
- **maintainerr** (port 6246, media_network): rule-based Plex
library cleanup. Bind mount under ${USERDIR}/maintainerr/data.
- **decluttarr** (no port, download_network): removes stalled /
failed downloads from Radarr/Sonarr queues. Needs RADARR_API_KEY
and SONARR_API_KEY from .env, which are obtained from the *arr
UIs *after* first boot — decluttarr starts with them blank and
skips any service whose key isn't set.
- **checkrr** (port 8585, media_network): scans media files for
codec / corruption issues. Read-only mount of the media library.
.env.example: re-adds RADARR_API_KEY and SONARR_API_KEY with a
comment explaining the post-boot setup. CLAUDE.md env-var contract
now has a third category for "populated after first boot" so the
chicken-and-egg is documented, not lurking.
README service table picks up the four new entries; network
architecture and CLAUDE.md mirror the new memberships. Old
"ERROR MONITORING" section header renamed to "LIBRARY MAINTENANCE"
to fit decluttarr/checkrr/cleanarr together.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Decluttarr v2 (released Nov 1, 2025) replaced RADARR_URL/RADARR_KEY/ SONARR_URL/SONARR_KEY/REMOVE_TIMER/REMOVE_FAILED with TIMER, REMOVE_FAILED_ DOWNLOADS and structured RADARR/SONARR blocks that require both base_url and api_key. v2 on :latest would silently ignore the v1 env vars; pinning v1.50.2 preserves the documented blank-keys-on-first-boot UX until v2 has a graceful "skip empty api_key" mode. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
c880d1c to
6714133
Compare
Summary
Adds four *arr-adjacent services from the running-containers screenshot in #37 that weren't yet in the repo:
8191media_network6246media_networkdownload_network8585media_networkDecluttarr — note on API keys
Decluttarr needs
RADARR_API_KEYandSONARR_API_KEYfrom.envto actually do anything. Those keys come from the Radarr/Sonarr UIs after the stack is running, so:.env.examplewith a comment explaining the post-boot workflow.CLAUDE.md's env-var contract gets a new third category ("Populated after first boot") so the chicken-and-egg is explicitly documented. This is the same confusion that came up in discussion #4.Other touches
# ============ ERROR MONITORING ============section header was a misnomer for cleanarr/requestrr. Renamed toLIBRARY MAINTENANCEand grouped the new decluttarr/checkrr/cleanarr together under it. (Requestrr is still in there for now — it doesn't fit either name perfectly.)Type of change
feat/)docs/)Validation
docker compose config --quietpasses locally with placeholder env valuescompose-validate.ymlworkflow exercises the exact pathRelated
Summary by CodeRabbit
New Features
Documentation
Chores