mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
SMTP port configurable through notification-email-server-port
. Defaults to 25.
This commit is contained in:
parent
4c63746feb
commit
c463241bc7
3 changed files with 12 additions and 1 deletions
6
main.go
6
main.go
|
@ -111,6 +111,12 @@ func main() {
|
|||
Usage: "SMTP server to send notification e-mails through",
|
||||
EnvVar: "WATCHTOWER_NOTIFICATION_EMAIL_SERVER",
|
||||
},
|
||||
cli.IntFlag{
|
||||
Name: "notification-email-server-port",
|
||||
Usage: "SMTP server port to send notification e-mails through",
|
||||
Value: 25,
|
||||
EnvVar: "WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "notification-email-server-user",
|
||||
Usage: "SMTP server user for sending notifications",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue