mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
add shoutrrr
This commit is contained in:
parent
7a402fdee7
commit
be2376a4e1
5 changed files with 50 additions and 1 deletions
|
@ -121,7 +121,7 @@ func RegisterNotificationFlags(rootCmd *cobra.Command) {
|
|||
"notifications",
|
||||
"n",
|
||||
viper.GetStringSlice("WATCHTOWER_NOTIFICATIONS"),
|
||||
" notification types to send (valid: email, slack, msteams, gotify)")
|
||||
" notification types to send (valid: email, slack, msteams, gotify, shoutrrr)")
|
||||
|
||||
flags.StringP(
|
||||
"notifications-level",
|
||||
|
@ -238,6 +238,12 @@ Should only be used for testing.
|
|||
"",
|
||||
viper.GetString("WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN"),
|
||||
"The Gotify Application required to query the Gotify API")
|
||||
|
||||
flags.StringArrayP(
|
||||
"notification-shoutrrr-url",
|
||||
"",
|
||||
viper.GetStringSlice("WATCHTOWER_NOTIFICATION_SHOUTRRR_URL"),
|
||||
"The shoutrrr URL to send notifications to")
|
||||
}
|
||||
|
||||
// SetDefaults provides default values for environment variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue