From cb4cf17d0ecd682dc473d1c863bc6d1d2e15ab21 Mon Sep 17 00:00:00 2001 From: CoolnsX Date: Sat, 1 Mar 2025 13:03:59 +0530 Subject: [PATCH] Feat: added notification config in watchtower --- watchtower/docker-compose.yml | 3 +++ watchtower/env.example | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 watchtower/env.example diff --git a/watchtower/docker-compose.yml b/watchtower/docker-compose.yml index 2b99993..f730257 100644 --- a/watchtower/docker-compose.yml +++ b/watchtower/docker-compose.yml @@ -9,3 +9,6 @@ services: - TZ=Asia/Kolkata - WATCHTOWER_CLEANUP=true - WATCHTOWER_SCHEDULE=0 0 2 * * * + - WATCHTOWER_NOTIFICATIONS=${WATCHTOWER_NOTIFICATIONS} + - WATCHTOWER_NOTIFICATIONS_HOSTNAME=${WATCHTOWER_NOTIFICATIONS_HOSTNAME} + - WATCHTOWER_NOTIFICATION_URL=${WATCHTOWER_NOTIFICATION_URL} diff --git a/watchtower/env.example b/watchtower/env.example new file mode 100644 index 0000000..5eb29c1 --- /dev/null +++ b/watchtower/env.example @@ -0,0 +1,3 @@ +WATCHTOWER_NOTIFICATIONS_HOSTNAME= +WATCHTOWER_NOTIFICATIONS=shoutrrr +WATCHTOWER_NOTIFICATION_URL=ntfy://:token@url/topic?icon=icon_url