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: