Skip to content

Commit

Permalink
docs: remove stray paragraph in notifications (#949)
Browse files Browse the repository at this point in the history
* docs: remove stray paragraph in notifications

fixes #946

* docs: add the lost paragraph to own page
  • Loading branch information
piksel authored May 3, 2021
1 parent 91bbe74 commit 61b715a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 6 additions & 0 deletions docs/updating.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 61b715a

Please sign in to comment.