From 0061ee7f7cfbba93536a3f0710a4b9117c4d8b20 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Mon, 14 Mar 2022 13:28:51 -0500 Subject: [PATCH] update automation --- Overhead/watchtower/docker-compose.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Overhead/watchtower/docker-compose.yml b/Overhead/watchtower/docker-compose.yml index 61a7797..20e77cd 100644 --- a/Overhead/watchtower/docker-compose.yml +++ b/Overhead/watchtower/docker-compose.yml @@ -1,6 +1,16 @@ -version: "3" +version: '3.8' services: watchtower: - image: containrrr/watchtower + image: containrrr/watchtower:latest + container_name: watchtower + environment: + WATCHTOWER_MONITOR_ONLY: 'true' + WATCHTOWER_NOTIFICATIONS: email + WATCHTOWER_NOTIFICATION_EMAIL_FROM: techopsalerts@turnsys.com + WATCHTOWER_NOTIFICATION_EMAIL_TO: prodtechopsalerts@turnsys.com + # you have to use a network alias here, if you use your own certificate + WATCHTOWER_NOTIFICATION_EMAIL_SERVER: pfv-toolbox.turnsys.net + WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 25 + WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2 volumes: - /var/run/docker.sock:/var/run/docker.sock \ No newline at end of file