From 726a4d9741978ec413186a6759219c433b211465 Mon Sep 17 00:00:00 2001 From: Brian Christner Date: Fri, 29 Sep 2017 07:36:33 +0200 Subject: [PATCH] updated README and compose file --- README.md | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bb836c6..815ca5e 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ Several projects utilize this Prometheus stack. Here's the list of projects: ## Swarm mode Configuration -edit file `docker-compose.yml` change `node.hostname = ` to your swarm node name for both `alertmanager` and `prometheus` +Edit file `docker-compose.yml` change `node.hostname = ` to your swarm node name for both `alertmanager` and `prometheus` ``` docker stack deploy -c docker-compose.yml monitor ``` diff --git a/docker-compose.yml b/docker-compose.yml index c70934f..babc2a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,7 +35,7 @@ services: deploy: placement: constraints: - - node.hostname == + - node.hostname == node-exporter: image: prom/node-exporter volumes: @@ -64,7 +64,7 @@ services: deploy: placement: constraints: - - node.hostname == + - node.hostname == cadvisor: image: google/cadvisor volumes: