added Dockerfile

This commit is contained in:
2019-09-07 13:57:34 +02:00
parent abe0bce0ed
commit d6aecd66be
3 changed files with 40 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
# Mail Receiver for Healthcheck
This is a simple docker container which acts as SMTP backend and forwards pings from mail to healthchecks.
I made this up, because the docker container I use for healthchecks does not include smtp, and I did not want do maintain this container on my own.
## Usage:
Basically run the docker container with the following environment variables set:
- `PING_URL`: The base url for the ping to healthchecks in the format `https://yourinstance.com/ping/` please do not remove the trailing slash.
- `PING_ID`: The ID to track the health of this script/container itself.
- `PING_TIMEOUT`: The time between pings for the script should be done.
- `MAIL_DOMAIN`: The domain name to accept messages for.