From 5256929186fe3c60fca02b82e616c7d1ff839f0b Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 30 Jan 2026 17:19:55 -0600 Subject: [PATCH] simplify docker compose template --- lib/towerops_web/live/agent_live/index.html.heex | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/towerops_web/live/agent_live/index.html.heex b/lib/towerops_web/live/agent_live/index.html.heex index a4e0fa06..b15c6b04 100644 --- a/lib/towerops_web/live/agent_live/index.html.heex +++ b/lib/towerops_web/live/agent_live/index.html.heex @@ -478,8 +478,6 @@ environment: - TOWEROPS_API_URL={url(@socket, ~p"/")} - TOWEROPS_AGENT_TOKEN={@new_token.token} - volumes: - - ./data:/data labels: - "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.scope=towerops" @@ -489,15 +487,14 @@ container_name: towerops-watchtower restart: unless-stopped environment: - # Check for updates every 15 minutes (900 seconds) - - WATCHTOWER_POLL_INTERVAL=900 + # Check for updates every day + - WATCHTOWER_POLL_INTERVAL=86400 - 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 +