From a8350459ae4675f906928e920b1775fb5e82d13a Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 22 Jun 2025 14:51:37 -0600 Subject: [PATCH] feat: enable automatic container updates with dockcheck labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Configure dockcheck for automatic updates instead of check-only mode - Add dockcheck update labels to Calibre and Changedetection services - Enable OnlyLabel and AutoMode for targeted container management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- roles/cron/templates/dockcheck.config.j2 | 4 +++- roles/docker/templates/calibre-compose.yml.j2 | 1 + roles/docker/templates/changedetection-compose.yml.j2 | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/cron/templates/dockcheck.config.j2 b/roles/cron/templates/dockcheck.config.j2 index 6ba2e3e..9f7d14c 100644 --- a/roles/cron/templates/dockcheck.config.j2 +++ b/roles/cron/templates/dockcheck.config.j2 @@ -1,6 +1,8 @@ # Dockcheck Configuration - Check only, no updates # Don't update, just check for updates -DontUpdate=true +# DontUpdate=true +OnlyLabel=true +AutoMode=true # Enable notifications Notify=true diff --git a/roles/docker/templates/calibre-compose.yml.j2 b/roles/docker/templates/calibre-compose.yml.j2 index 3acbc12..72c6052 100644 --- a/roles/docker/templates/calibre-compose.yml.j2 +++ b/roles/docker/templates/calibre-compose.yml.j2 @@ -18,6 +18,7 @@ services: glance.icon: si:calibreweb glance.url: https://{{ subdomains.books }}/ glance.description: Book server + mag37.dockcheck.update: true volumes: config: driver: local diff --git a/roles/docker/templates/changedetection-compose.yml.j2 b/roles/docker/templates/changedetection-compose.yml.j2 index 9c859ee..bc6d6c2 100644 --- a/roles/docker/templates/changedetection-compose.yml.j2 +++ b/roles/docker/templates/changedetection-compose.yml.j2 @@ -10,6 +10,7 @@ services: glance.url: https://{{ subdomains.watcher }}/ glance.description: Changedetection glance.id: changedetection + mag37.dockcheck.update: true volumes: - changedetection-data:/datastore # Configurable proxy list support, see https://github.com/dgtlmoon/changedetection.io/wiki/Proxy-configuration#proxy-list-support @@ -96,6 +97,7 @@ services: labels: glance.parent: changedetection glance.name: Browser + mag37.dockcheck.update: true image: dgtlmoon/sockpuppetbrowser:latest cap_add: - SYS_ADMIN