From 55cd3f00513977900ead571e9050e17af3d3328b Mon Sep 17 00:00:00 2001 From: Psykka <36780964+Psykka@users.noreply.github.com> Date: Sat, 1 Jun 2024 03:20:09 -0300 Subject: [PATCH 1/2] fix: watchtower notification --- compose.yml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/compose.yml b/compose.yml index 5dfaf38..7e7602a 100644 --- a/compose.yml +++ b/compose.yml @@ -16,32 +16,11 @@ services: restart: always container_name: eery-watchtower environment: - WATCHTOWER_NOTIFICATION_REPORT: "true" WATCHTOWER_NOTIFICATION_URL: > discord://${DEPLOY_WEBHOOK_TOKEN}@${DEPLOY_WEBHOOK_ID} - WATCHTOWER_NOTIFICATION_TEMPLATE: | - {{- if .Report -}} - {{- with .Report -}} - {{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed - {{- range .Updated}} - - {{.Name}} ({{.ImageName}}): {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}} - {{- end -}} - {{- range .Fresh}} - - {{.Name}} ({{.ImageName}}): {{.State}} - {{- end -}} - {{- range .Skipped}} - - {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}} - {{- end -}} - {{- range .Failed}} - - {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}} - {{- end -}} - {{- end -}} - {{- else -}} - {{range .Entries -}}{{.Message}}{{"\n"}}{{- end -}} - {{- end -}} volumes: - /var/run/docker.sock:/var/run/docker.sock - command: --interval 60 --cleanup --label-enable + command: --interval 30 --cleanup --label-enable volumes: eery-data: From a51764a4af7ef23c7a2fc5dd3be3760d96d71b97 Mon Sep 17 00:00:00 2001 From: Psykka <36780964+Psykka@users.noreply.github.com> Date: Sat, 1 Jun 2024 03:21:47 -0300 Subject: [PATCH 2/2] fix: watchtower interval --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 7e7602a..55a4e63 100644 --- a/compose.yml +++ b/compose.yml @@ -20,7 +20,7 @@ services: discord://${DEPLOY_WEBHOOK_TOKEN}@${DEPLOY_WEBHOOK_ID} volumes: - /var/run/docker.sock:/var/run/docker.sock - command: --interval 30 --cleanup --label-enable + command: --interval 60 --cleanup --label-enable volumes: eery-data: