Sign inSign up

ghostbar/consul-alerts

By ghostbar

•Updated almost 11 years ago

Very lightweight `consul-alerts`. ~57mb against the ~620mb from the original `acaleph/consul-alerts`

Image
0

1.6K

ghostbar/consul-alerts repository overview

⁠docker container for consul-alerts

This container is way more lighter than acaleph/consul-alerts. It's ~57mb against ~624mb.

How to run it (this is an example of my run.sh):

docker rm consul-alerts
docker run \
  --dns $(docker inspect -f '{{ .NetworkSettings.IPAddress }}' consul) \
  --name consul-alerts \
  --link consul \
  -ti \
  ghostbar/consul-alerts start \
    --alert-addr=0.0.0.0:9000 \
    --consul-addr=consul:8500 \
    --watch-events --watch-checks

The server is in a container named consul and with docker inspect I'm getting it's IP address to add it as a DNS. Take into consideration that will be necessary for the watchs to run.

Tag summary

Content type

Image

Digest

sha256:5c3d90530…

Size

20.6 MB

Last updated

almost 11 years ago

docker pull ghostbar/consul-alerts