From 12cc61fba524ec459b542a4c735b1bc8e18fcfc2 Mon Sep 17 00:00:00 2001 From: James Read Date: Thu, 29 Feb 2024 21:27:54 +0000 Subject: [PATCH] feature: Nicer container dashboard example in the default config (#235) --- config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index abd604f..3297ff5 100644 --- a/config.yaml +++ b/config.yaml @@ -5,6 +5,7 @@ # Listen on all addresses available, port 1337 listenAddressSingleHTTPFrontend: 0.0.0.0:1337 + # Choose from INFO (default), WARN and DEBUG logLevel: "INFO" @@ -256,12 +257,13 @@ dashboards: # This is the second dashboard. - title: My Containers contents: - - title: Container {{ container.Names }} + - title: 'Container {{ container.Names }} ({{ container.Image }})' entity: container type: fieldset contents: - type: display title: | - {{ container.Names }}

{{ container.State }} + {{ container.RunningFor }}

{{ container.State }} + - title: 'Start {{ container.Names }}' - title: 'Stop {{ container.Names }}'