From db8352744b01c7c11daa7b8e7320dfb3f62a5d24 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Fri, 31 Jul 2026 02:04:48 +1000 Subject: [PATCH] fix(deploy): correct pull_policy in the docker-nats-stack template 'always' against a private registry answers 401 because the daemon calls ImagePull with no credentials. The live config already uses 'missing'. This just brings the template in line. --- deployments/docker-nats-stack.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/deployments/docker-nats-stack.toml b/deployments/docker-nats-stack.toml index 4bb2d628a..e99747ca6 100644 --- a/deployments/docker-nats-stack.toml +++ b/deployments/docker-nats-stack.toml @@ -55,11 +55,10 @@ network = "archie-core_default" image = "git.example.com/you/archie-agent:latest" max_concurrency = 4 max_uptime = "60m" -# "always" so a freshly pushed agent image is used on the next task. -# Watchtower cannot update this image -- it only restarts long-running -# containers, and agent containers are spawned per task -- so with -# "if-not-present" the daemon reuses a stale local copy indefinitely. -pull_policy = "always" +# "missing": pull only when the image is absent locally. "always" against a +# private registry answers 401 because the daemon sends no credentials, so +# refresh the agent by hand: docker compose pull agent +pull_policy = "missing" [web] # 0.0.0.0 so the dashboard is reachable through the published port.