final touches on labeling containers

This commit is contained in:
vegasbrianc 2015-11-18 11:39:11 +01:00
parent b22c48809f
commit a775354c09

View File

@ -5,6 +5,10 @@ prometheus:
links:
- "exporter:export"
- "cadvisor:cadvisor"
labels:
- "name=prometheus"
- "description=Core of Promethues"
- "version=0.16.1"
exporter:
image: "prom/container-exporter"
@ -15,6 +19,10 @@ exporter:
- "9104:9104"
expose:
- "9104"
labels:
- "name=exporter"
- "description=Exports prom data"
- "version=latest"
sqlite3:
image: "prom/promdash"
@ -35,6 +43,10 @@ promdash:
- /tmp/prom:/tmp/prom
environment:
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
labels:
- "name=prom dashboard"
- "description=Dashboards for metrics"
- "version=latest"
cadvisor:
image: "google/cadvisor"
@ -47,3 +59,7 @@ cadvisor:
- "8080:8080"
expose:
- "8080"
labels:
- "name=cAdvisor"
- "description=Google Container Advisor collects metrics from host and containers"
- "version=latest"