Added dashboard

This commit is contained in:
Anders Roos 2022-11-10 23:32:26 +01:00
parent d744c34886
commit 130429b10a
22 changed files with 2986 additions and 14 deletions

View file

@ -163,6 +163,12 @@ func RegisterSystemFlags(rootCmd *cobra.Command) {
viper.GetBool("WATCHTOWER_HTTP_API_PERIODIC_POLLS"),
"Also run periodic updates (specified with --interval and --schedule) if HTTP API is enabled")
flags.BoolP(
"http-web-dashboard",
"",
viper.GetBool("WATCHTOWER_HTTP_WEB_DASHBOARD"),
"Enables the web dashboard at http://localhost:8001")
// https://no-color.org/
flags.BoolP(
"no-color",