add instruction for swarm mode deploy

This commit is contained in:
llitfkitfk 2017-08-16 17:05:29 +08:00
parent 886a882a25
commit a4f7bcea80
1 changed files with 6 additions and 0 deletions

View File

@ -94,3 +94,9 @@ Several projects utilize this Prometheus stack. Here's the list of projects:
*Have an intersting Project which use this Repo? Submit yours to the list*
## 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`
```
docker stack deploy -c docker-compose.yml monitor
```