feature: Nicer container dashboard example in the default config (#235)

This commit is contained in:
James Read 2024-02-29 21:27:54 +00:00 committed by GitHub
parent fe40731df3
commit 12cc61fba5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -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 }} <br /><br /><strong>{{ container.State }}</strong>
{{ container.RunningFor }} <br /><br /><strong>{{ container.State }}</strong>
- title: 'Start {{ container.Names }}'
- title: 'Stop {{ container.Names }}'