# Dockcheck configuration (all options: default.config in mag37/dockcheck) # Managed by ansible (roles/cron). This file is sourced as bash. # # Modes, picked by run_dockcheck.sh with an environment variable: # DC_UPDATE=1 auto-update containers labelled mag37.dockcheck.update=true, # no notification # DC_NOTIFY=1 check every container, send one Gotify notice for updates # neither (running dockcheck.sh by hand) check every container, no # updates, no notification AutoMode=true if [[ "${DC_UPDATE:-}" == 1 ]]; then OnlyLabel=true else DontUpdate=true fi Notify=$([[ "${DC_NOTIFY:-}" == 1 ]] && echo true || echo false) # dockcheck updates itself (git pull in ~/.local/share/dockcheck) each run AutoSelfUpdate=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 _) 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 # Recreate only the container that was updated, not its whole compose stack. # Otherwise the stack's other containers (excluded or unlabelled ones too) # get recreated from whatever image is cached locally. OnlySpecific=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 }}"