Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 906 Bytes

File metadata and controls

23 lines (16 loc) · 906 Bytes

watchdog

Docker Cloud Build Status MicroBadger Size MicroBadger Layers

If run inside a docker-compose setup, the watchdog will notify the configured Slack channel about its shutdown.

Usage

To get the watchdog, simply pull the hackaburg/watchdog image from the Docker hub and pass in your Slack webhook url as an environment variable:

$ docker run \
    --rm \
    -it \
    -e SLACK_WEBHOOK_URL=https://your-slack-webhook_url \
    hackaburg/watchdog

License

This very basic watchdog script is released under the MIT license.