From 538f582fec6956435e566e184900bcd9f24c0558 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 16 Jan 2026 17:38:30 -0600 Subject: [PATCH] Update agent setup instructions with Watchtower auto-updates - Change default agent image to gmcintire/towerops-agent:main - Add Watchtower service to docker-compose instructions - Configure 15-minute update check interval for development - Add DOCKER_API_VERSION=1.44 to prevent API compatibility errors - Remove deprecated docker-compose version field --- config/config.exs | 2 +- lib/towerops_web/live/agent_live/index.html.heex | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index e95f0376..7c28e2e4 100644 --- a/config/config.exs +++ b/config/config.exs @@ -88,7 +88,7 @@ config :towerops, :scopes, # Agent Docker Image # Override this in runtime.exs or environment-specific config config :towerops, - agent_docker_image: "towerops/agent:latest" + agent_docker_image: "gmcintire/towerops-agent:main" # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. diff --git a/lib/towerops_web/live/agent_live/index.html.heex b/lib/towerops_web/live/agent_live/index.html.heex index c61584d6..f7745b8e 100644 --- a/lib/towerops_web/live/agent_live/index.html.heex +++ b/lib/towerops_web/live/agent_live/index.html.heex @@ -257,6 +257,8 @@ - WATCHTOWER_LABEL_ENABLE=true - WATCHTOWER_CLEANUP=true - WATCHTOWER_LOG_LEVEL=info + # Use latest Docker API version + - DOCKER_API_VERSION=1.44 volumes: - /var/run/docker.sock:/var/run/docker.sock