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>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-03 07:24:43 -07:00
1 parent b914460b72
commit a5cdfded37
4 files changed
+93 -10

No files matched your search

+21 -2
View File
@@ -1,4 +1,4 @@
# Dockcheck Configuration
# 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.
@@ -6,6 +6,25 @@
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
@@ -17,4 +36,4 @@ NOTIFY_CHANNELS="gotify"
# Gotify notification configuration
GOTIFY_DOMAIN="https://{{ subdomains.gotify }}"
GOTIFY_TOKEN="{{ vault_dockcheck.gotify_token }}"
GOTIFY_TOKEN="{{ vault_dockcheck.gotify_token }}"