mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
Add a configuration handle that receives the JSON file to be included on the URL callback.
This commit is contained in:
parent
0f05a82284
commit
7c8659d756
1 changed files with 5 additions and 0 deletions
|
|
@ -169,5 +169,10 @@ func SetupCliFlags(app *cli.App) {
|
||||||
Usage: "URL to callback for out of band updating",
|
Usage: "URL to callback for out of band updating",
|
||||||
EnvVar: "WATCHTOWER_URL_CALLBACK",
|
EnvVar: "WATCHTOWER_URL_CALLBACK",
|
||||||
},
|
},
|
||||||
|
cli.BoolFlag{
|
||||||
|
Name: "json-extra-url-callback",
|
||||||
|
Usage: "JSON file to be sent as extra data when using URL callback",
|
||||||
|
EnvVar: "WATCHTOWER_JSON_EXTRA_URL_CALLBACK",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue