Docker container for monitoring the status changes of other containers.
$ sudo docker build --tag "chief8192/docker-observer" .
Configuration is done by way of a config.json
file with the following format:
{
"pushover_app_token": "",
"pushover_user_key": ""
}
Property | Required | Description |
---|---|---|
pushover_app_token |
No | Pushover app token to use when sending push notifications. |
pushover_user_key |
No | Pushover user key to use when sending push notifications. |
$ sudo docker run \
--detach \
--name="docker-observer" \
--network="host" \
--restart="always" \
--volume="${PWD}/config.json:/config.json:ro" \
--volume="/var/run/docker.sock:/var/run/docker.sock" \
"chief8192/docker-observer:latest"