Skip to content

Configure Frigate, Traefik, backup, agent guidelines - #265

Merged
bubacoder merged 1 commit into
mainfrom
feature/config
Jan 24, 2026
Merged

Configure Frigate, Traefik, backup, agent guidelines#265
bubacoder merged 1 commit into
mainfrom
feature/config

Conversation

@bubacoder

@bubacoder bubacoder commented Jan 23, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Documentation

    • Added explicit Git contribution guidelines and expanded deployment/operational notes.
  • Configuration

    • Security camera: enabled snapshots, extended motion retention to 14 days, and optimized stream handling.
    • Backups: exclude version-control data and remove older backups automatically.
    • Service routing and service metadata updated.
    • Build/service listing output path adjusted.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Adds a Git guideline to AGENTS.md, updates backup Taskfile to exclude .git and prune old backups, tweaks Frigate camera input ordering and motion retention, changes Traefik qbittorrent middleware, adjusts Taskfile.web output path, and updates qbittorrent homepage description.

Changes

Cohort / File(s) Summary
Agent documentation
AGENTS.md
Added a Git Guidelines section forbidding creating branches or committing changes unless explicitly requested; guidance duplicated/expanded later in the file with added emphasis.
Backup & task configs
Taskfile.yaml, docs/web/Taskfile.web.yaml
Taskfile.yaml: exclude .git from backup tar and add step to remove old backups (`tail -n +31
Security — Frigate config
docker/security/frigate/config.yml
Reordered FFmpeg inputs to list high-res h265Preview_01_main first (record role), added low-res h264Preview_01_sub with detect role, enabled camera snapshots, and increased motion retention from 7 to 14 days.
Traefik & qbittorrent
docker/security/traefik/dynamic/external-services.yml, docker/fileshare/qbittorrent.yaml
Switched qbittorrent router middleware label from localaccess-sso@file to localaccess@file; updated qbittorrent homepage.description from "[SSO] BitTorrent client" to "BitTorrent client".

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title covers multiple distinct changes across different systems (Frigate, Traefik, backup, agent guidelines) but accurately reflects the main configuration updates in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/config

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docker/security/traefik/dynamic/external-services.yml (1)

19-23: Resolve qbittorrent middleware inconsistency: two conflicting configurations.

Qbittorrent is configured with different middlewares in two places:

  • docker/fileshare/qbittorrent.yaml (line 38): localaccess-sso@file (IP allowlist + Authelia SSO)
  • docker/security/traefik/dynamic/external-services.yml (line 23): localaccess@file (IP allowlist only)

The dynamic config route uses localaccess@file which removes SSO authentication, creating a security regression. Choose one authoritative configuration:

  • If SSO should remain enforced: remove qbittorrent from external-services.yml
  • If IP-only access is intentional: update qbittorrent.yaml to match
🔒 Suggested fix to restore SSO protection
-        - localaccess@file
+        - localaccess-sso@file
🤖 Fix all issues with AI agents
In `@docker/security/frigate/config.yml`:
- Around line 21-42: The config uses an unsupported stream role "rtmp" on the
camera stream entry; remove the "rtmp" role from the roles list (leave only
detect/record/audio as appropriate) and, if you need live/restreaming, wire the
source into go2rtc and map it via cameras.<name>.live.streams instead of adding
rtmp here; also verify that the substream name h264Preview_01_sub actually
outputs 960x540 (or adjust detect.width/detect.height to match the substream) so
Frigate's detect settings aren't causing scaling or ignored frames.

Comment thread docker/security/frigate/config.yml
@bubacoder
bubacoder merged commit 739edc4 into main Jan 24, 2026
4 checks passed
@bubacoder
bubacoder deleted the feature/config branch January 24, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant