updated README and compose file

This commit is contained in:
Brian Christner 2017-09-29 07:36:33 +02:00
parent 0dd341b1cf
commit 726a4d9741
No known key found for this signature in database
GPG Key ID: 8453AD0CB29591D1
2 changed files with 3 additions and 3 deletions

View File

@ -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 = <hostname where alertmanager config file in>` to your swarm node name for both `alertmanager` and `prometheus`
Edit file `docker-compose.yml` change `node.hostname = <hostname where alertmanager or Prometheus config files are>` to your swarm node name for both `alertmanager` and `prometheus`
```
docker stack deploy -c docker-compose.yml monitor
```

View File

@ -35,7 +35,7 @@ services:
deploy:
placement:
constraints:
- node.hostname == <hostname where the prometheus config file in>
- node.hostname == <hostname where the prometheus config files are located>
node-exporter:
image: prom/node-exporter
volumes:
@ -64,7 +64,7 @@ services:
deploy:
placement:
constraints:
- node.hostname == <hostname where alertmanager config file in>
- node.hostname == <hostname where alertmanager config files are located>
cadvisor:
image: google/cadvisor
volumes: