benjojo / alertmanager-discord

Take your alertmanager alerts, into discord
Apache License 2.0
177 stars 78 forks source link

Fix error checking, add Dockerfile #3

Closed funkypenguin closed 5 years ago

funkypenguin commented 5 years ago

I wanted to use this in swarm, so I fixed the missing "os" import (for env variable), added some error checking (fail if we're not passed a webhook), and included a Dockerfile. The auto-built docker file is available at https://hub.docker.com/r/funkypenguin/alertmanager-discord/

D

benjojo commented 5 years ago

LGTM, Please next time make different PR's for the message style changes