mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
docs: remove stray paragraph in notifications (#949)
* docs: remove stray paragraph in notifications fixes #946 * docs: add the lost paragraph to own page
This commit is contained in:
parent
91bbe74796
commit
61b715abec
2 changed files with 6 additions and 2 deletions
|
@ -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.
|
||||
|
|
6
docs/updating.md
Normal file
6
docs/updating.md
Normal file
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue