Add a configuration handle for receiving the URL for the callback

This commit is contained in:
Giancarlo Razzolini 2019-05-30 17:17:07 -03:00
parent a2ba221ad3
commit 0f05a82284
No known key found for this signature in database
GPG key ID: 354AAB6377B981BC

View file

@ -164,5 +164,10 @@ func SetupCliFlags(app *cli.App) {
Usage: "Will also include created and exited containers",
EnvVar: "WATCHTOWER_INCLUDE_STOPPED",
},
cli.BoolFlag{
Name: "url-callback",
Usage: "URL to callback for out of band updating",
EnvVar: "WATCHTOWER_URL_CALLBACK",
},
}
}