feature: Nicer container dashboard example in the default config (#235)
This commit is contained in:
parent
fe40731df3
commit
12cc61fba5
|
|
@ -5,6 +5,7 @@
|
||||||
# Listen on all addresses available, port 1337
|
# Listen on all addresses available, port 1337
|
||||||
listenAddressSingleHTTPFrontend: 0.0.0.0:1337
|
listenAddressSingleHTTPFrontend: 0.0.0.0:1337
|
||||||
|
|
||||||
|
|
||||||
# Choose from INFO (default), WARN and DEBUG
|
# Choose from INFO (default), WARN and DEBUG
|
||||||
logLevel: "INFO"
|
logLevel: "INFO"
|
||||||
|
|
||||||
|
|
@ -256,12 +257,13 @@ dashboards:
|
||||||
# This is the second dashboard.
|
# This is the second dashboard.
|
||||||
- title: My Containers
|
- title: My Containers
|
||||||
contents:
|
contents:
|
||||||
- title: Container {{ container.Names }}
|
- title: 'Container {{ container.Names }} ({{ container.Image }})'
|
||||||
entity: container
|
entity: container
|
||||||
type: fieldset
|
type: fieldset
|
||||||
contents:
|
contents:
|
||||||
- type: display
|
- type: display
|
||||||
title: |
|
title: |
|
||||||
{{ container.Names }} <br /><br /><strong>{{ container.State }}</strong>
|
{{ container.RunningFor }} <br /><br /><strong>{{ container.State }}</strong>
|
||||||
|
|
||||||
- title: 'Start {{ container.Names }}'
|
- title: 'Start {{ container.Names }}'
|
||||||
- title: 'Stop {{ container.Names }}'
|
- title: 'Stop {{ container.Names }}'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue