From a775354c0980fd072eed78321c08587e3800c771 Mon Sep 17 00:00:00 2001 From: vegasbrianc Date: Wed, 18 Nov 2015 11:39:11 +0100 Subject: [PATCH] final touches on labeling containers --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 59ab10a..6534162 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"