Files
ansible/roles/cron/templates/dockcheck.config.j2
T
PhilandClaude Opus 5.5 a5cdfded37 cron: refresh dockcheck setup
- Pin dockcheck (v0.8.3) and regctl (v0.11.7) and re-download on version
  bumps; get_url never replaced existing files, and dockcheck never updates
  regctl itself (server had regctl v0.8.3 from June 2025)
- New options: DaysOld=3, BackupForDays=7 (rollback), MaxAsync=10,
  MonoMode for the log, PrintReleaseURL with upstream urls.list
- Drop authentik-postgresql-1 from Exclude (container is gone)
- Wrapper logged exit code 0 always ($? read after $(date)); fixed
- Rotate /var/log/dockcheck/dockcheck.log weekly
- Remove stale ~/.local/bin/notify_v2.sh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:24:43 -07:00

40 lines
1.2 KiB
Django/Jinja

# Dockcheck Configuration (options: default.config in mag37/dockcheck)
# Auto-updates containers labelled mag37.dockcheck.update=true, and sends a
# Gotify notice for anything else with an update. Uncomment DontUpdate to
# only check.
# DontUpdate=true
OnlyLabel=true
AutoMode=true
# Only take an image once it's at least this many days old, so a broken
# release has time to be fixed before it's applied unattended. Newer ones are
# listed with a "+" and their age, and picked up on a later run.
DaysOld="3"
# Keep the replaced image for 7 days (tagged <date>_<tag>) so a bad update
# can be rolled back, then delete it. With backups on, dockcheck doesn't
# prune dangling images (AutoPrune has no effect).
BackupForDays=7
# Check registries in parallel
MaxAsync=10
# Plain output for the cron log: no colour codes or progress bar
MonoMode=true
# Add release-note links (from urls.list) to each update listed
PrintReleaseURL=true
# Enable notifications
Notify=true
# Exclude containers from checking
Exclude="dawarich_redis,dawarich_db"
# Notification channels
NOTIFY_CHANNELS="gotify"
# Gotify notification configuration
GOTIFY_DOMAIN="https://{{ subdomains.gotify }}"
GOTIFY_TOKEN="{{ vault_dockcheck.gotify_token }}"