mirror of
https://github.com/containrrr/watchtower.git
synced 2026-03-06 12:50:18 +01:00
Add discord notification service. Close #143
This commit is contained in:
parent
2cfbebb0e9
commit
fd106e7b00
4 changed files with 129 additions and 16 deletions
10
README.md
10
README.md
|
|
@ -189,7 +189,9 @@ Watchtower can send notifications when containers are updated. Notifications are
|
|||
The types of notifications to send are passed via the comma-separated option `--notifications` (or corresponding environment variable `WATCHTOWER_NOTIFICATIONS`), which has the following valid values:
|
||||
|
||||
* `email` to send notifications via e-mail
|
||||
* `discord` to send notifications into Discord channel
|
||||
|
||||
### Email
|
||||
To receive notifications by email, the following command-line options, or their corresponding environment variables, can be set:
|
||||
|
||||
* `--notification-email-from` (env. `WATCHTOWER_NOTIFICATION_EMAIL_FROM`): The e-mail address from which notifications will be sent.
|
||||
|
|
@ -214,3 +216,11 @@ docker run -d \
|
|||
v2tec/watchtower
|
||||
```
|
||||
|
||||
### Discord
|
||||
To send notifications into Discord channel, the following command-line options, or their corresponding environment variables, can be set:
|
||||
|
||||
* `--notification-discord-webhook` (env. `WATCHTOWER_NOTIFICATION_DISCORD_WEBHOOK`): Webhook URL configured in Discord.
|
||||
|
||||
[Checkout how to add webhook for channel](https://support.discordapp.com/hc/en-us/articles/228383668)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue