Skip to content
🐶 Basic watchdog image to notify a Slack channel about server shutdowns.
JavaScript Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
.gitignore
Dockerfile
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

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.

You can’t perform that action at this time.