Skip to content

Docker stack to deploy prometheus monitoring on a Docker Swarm Cluster.

Notifications You must be signed in to change notification settings

edouardhinvi/docker-swarm-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This stack deploys all the components needed to monitor a Docker Swarm cluster:

  • prometheus
  • alertmanager
  • grafana
  • blackbox-exporter
  • docker-exporter
  • node-exporter
  • cAdvisor
  • fregate (free mobile sms api

If you want to expose some components through Traefik reverse proxy you first have to have an overlay network with Traefik running in it. In my compose file this overlay network is called "traefik-net"

To deploy the stack run the following command:

# docker stack deploy --compose-file prometheus.yml
 prometheus

This stack uses configs and secrets. (compose "v3.3")

  • Modify the pushover credentials in configs/alertmanager.yml
  • Modify the Traefik basic auths and url in promtheus.yml
  • If using the free sms api put you username and password in:
    • secrets/fregate_user
    • secrets/fregate_password

About

Docker stack to deploy prometheus monitoring on a Docker Swarm Cluster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published