0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-12 19:48:12 +00:00
crazy-max_diun/doc/notifications.md
CrazyMax f8d88e3893
Add Gotify notification client (#36)
Co-authored-by: Paul Götzinger <paul70079@gmail.com>
2020-02-17 22:39:43 +01:00

1.5 KiB

Notifications

Gotify

Notifications can be sent using a Gotify instance. Follow the instructions to set up a Gotify server.

Mail

Here is an email sample if you add mail notification:

Slack

You can send notifications to your slack channel using an incoming webhook URL:

Telegram

Notifications can be sent via Telegram using a Telegram Bot.

Follow the instructions to set up a bot and get it's token.

Message the GetID bot to find your chat ID. Multiple chat IDs can be provided in order to deliver notifications to multiple recipients.

Webhook

If you choose webhook notification, a HTTP request is sent with a JSON format response that looks like:

{
  "diun_version": "0.3.0",
  "status": "new",
  "provider": "static-0",
  "image": "docker.io/crazymax/swarm-cronjob:0.2.1",
  "mime_type": "application/vnd.docker.distribution.manifest.v2+json",
  "digest": "sha256:5913d4b5e8dc15430c2f47f40e43ab2ca7f2b8df5eee5db4d5c42311e08dfb79",
  "created": "2019-01-24T10:26:49.152006005Z",
  "architecture": "amd64",
  "os": "linux"
}