updated README and compose file
This commit is contained in:
parent
0dd341b1cf
commit
726a4d9741
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue