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.