From 61b715abec79dc931c6312b8334eb4fdd4a8f7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nils=20m=C3=A5s=C3=A9n?= Date: Mon, 3 May 2021 11:22:17 +0200 Subject: [PATCH] docs: remove stray paragraph in notifications (#949) * docs: remove stray paragraph in notifications fixes #946 * docs: add the lost paragraph to own page --- docs/notifications.md | 2 -- docs/updating.md | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 docs/updating.md diff --git a/docs/notifications.md b/docs/notifications.md index 5a5feb2..b0e2adf 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -112,8 +112,6 @@ networks: ### Slack -If watchtower is monitoring the same Docker daemon under which the watchtower container itself is running (i.e. if you volume-mounted _/var/run/docker.sock_ into the watchtower container) then it has the ability to update itself. If a new version of the _containrrr/watchtower_ image is pushed to the Docker Hub, your watchtower will pull down the new image and restart itself automatically. - To receive notifications in Slack, add `slack` to the `--notifications` option or the `WATCHTOWER_NOTIFICATIONS` environment variable. Additionally, you should set the Slack webhook URL using the `--notification-slack-hook-url` option or the `WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL` environment variable. This option can also reference a file, in which case the contents of the file are used. diff --git a/docs/updating.md b/docs/updating.md new file mode 100644 index 0000000..952a0f9 --- /dev/null +++ b/docs/updating.md @@ -0,0 +1,6 @@ +## Updating Watchtower + +If watchtower is monitoring the same Docker daemon under which the watchtower container itself is running (i.e. if you +volume-mounted `/var/run/docker.sock` into the watchtower container) then it has the ability to update itself. +If a new version of the `containrrr/watchtower` image is pushed to the Docker Hub, your watchtower will pull down the +new image and restart itself automatically.