Forráskód Böngészése

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

James Read 2 éve
szülő
commit
12cc61fba5
1 módosított fájl, 4 hozzáadás és 2 törlés
  1. 4 2
      config.yaml

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