From ce568c7a3e567bc65d7e143d08af638ff059c75e Mon Sep 17 00:00:00 2001 From: Wise <33370380+wisewtf@users.noreply.github.com> Date: Mon, 13 Jan 2025 18:46:47 +0100 Subject: [PATCH] Fixed bad environment definitions in docker compose examples --- docs/notifications.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/notifications.md b/docs/notifications.md index d5da4fe..eecafce 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -150,7 +150,7 @@ Example using a custom report template that always sends a session report after image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock - env: + environment: WATCHTOWER_NOTIFICATION_REPORT: "true" WATCHTOWER_NOTIFICATION_URL: > discord://token@channel @@ -212,7 +212,7 @@ If watchtower is started with `notify-upgrade` as it's first argument, it will g image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock - env: + environment: WATCHTOWER_NOTIFICATIONS: slack WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL: https://hooks.slack.com/services/xxx/yyyyyyyyyyyyyyy command: notify-upgrade