feat(webui): add minimal dashboard (Pico.css) with tail, trigger, status; JSON endpoints: /api/info,/api/channels,/api/tail,/api/trigger; default compose/UI auth via HTTP_TOKEN
This commit is contained in:
parent
26ae405e9b
commit
45d1d98e56
3 changed files with 212 additions and 0 deletions
|
|
@ -118,6 +118,10 @@ func main() {
|
|||
Metrics: metrics,
|
||||
Ready: func() bool { return atomic.LoadInt64(&metrics.ConnectedGauge) == 1 },
|
||||
SummarizerTimeout: cfg.SummarizerTimeout,
|
||||
Version: version,
|
||||
Commit: commit,
|
||||
BuiltAt: builtAt,
|
||||
StartedAt: time.Now(),
|
||||
}
|
||||
go func() {
|
||||
if err := api.Start(ctx); err != nil && err != http.ErrServerClosed {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue