feat(docker): add docker_update_remaining.sh for weekly catch-all image pulls
Pulls the latest image for every running container not already covered by the daily update (DAILY_RESTART_CONTAINERS) or weekly restart (WEEKLY_RESTART_CONTAINERS) lists. Runs at the end of WEEKLY_MAINTENANCE_SCRIPTS. Exclusion set is derived automatically — no list to maintain. Together with docker_update.sh, every deployed container gets at least one image pull per week without relying on the CA Update Applications plugin. Toggle: WEEKLY_REMAINING_UPDATES=true/false in master.conf. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
0adfe04173
commit
4e22f5d1f7
+7
-1
@@ -295,9 +295,15 @@
|
||||
# syncs WEEKLY_SYNC_SHARES → restarts → then iterates WEEKLY_MAINTENANCE_SCRIPTS.
|
||||
# Schedule: 30 2 * * 0 (Sunday 2:30am)
|
||||
WEEKLY_MAINTENANCE_SCRIPTS=(
|
||||
"Docker_Essentials/docker_weekly_restart.sh" # weekly container restarts after sync
|
||||
"Docker_Essentials/docker_weekly_restart.sh" # weekly container restarts after sync
|
||||
"Docker_Essentials/docker_update_remaining.sh" # pull updates for all other containers
|
||||
)
|
||||
|
||||
# Pull updates for all running containers NOT in daily/weekly restart lists.
|
||||
# Ensures every deployed container receives at least one image pull per week.
|
||||
# Set false to skip — docker_weekly_restart.sh still runs regardless.
|
||||
WEEKLY_REMAINING_UPDATES=true
|
||||
|
||||
# Shares synced during the weekly maintenance window — defined per host in master_host*.conf.
|
||||
# HOST1_WEEKLY_SYNC_SHARES / HOST2_WEEKLY_SYNC_SHARES
|
||||
# Containers stopped both sides before sync — full clean state guaranteed.
|
||||
|
||||
Reference in New Issue
Block a user