Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghostbar/docker-consul-alerts
https://github.com/ghostbar/docker-consul-alerts
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ghostbar/docker-consul-alerts
- Owner: ghostbar
- Created: 2015-10-05T15:54:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-05T20:26:29.000Z (about 9 years ago)
- Last Synced: 2023-03-10T20:33:35.810Z (over 1 year ago)
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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-checksThe 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.