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.
This commit is contained in:
sam committed 2026-07-31 02:04:48 +10:00
1 parent 367b89e5ee
commit db8352744b
1 file changed
+4 -5
+4 -5
View File
@@ -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.