mirror of
https://github.com/crazy-max/diun.git
synced 2026-01-03 11:35:02 +01:00
* Fix build workflow * Docs website with mkdocs (#99) * Fix docs workflow * Move mkdocs Docker file * Ignore docs in build workflow * Update workflows * Update links * Move upgrade notes to documentation Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
35 lines
922 B
Markdown
35 lines
922 B
Markdown
# Amqp notifications
|
|
|
|
Notifications can be sent using a [Gotify](https://gotify.net/) instance.
|
|
|
|
## Configuration
|
|
|
|
!!! example "File"
|
|
```yaml
|
|
notif:
|
|
gotify:
|
|
endpoint: http://gotify.foo.com
|
|
token: Token123456
|
|
priority: 1
|
|
timeout: 10s
|
|
```
|
|
|
|
!!! abstract "Environment variables"
|
|
* `DIUN_NOTIF_GOTIFY_ENDPOINT`
|
|
* `DIUN_NOTIF_GOTIFY_TOKEN`
|
|
* `DIUN_NOTIF_GOTIFY_PRIORITY`
|
|
* `DIUN_NOTIF_GOTIFY_TIMEOUT`
|
|
|
|
| Name | Default | Description |
|
|
|--------------------|---------------|---------------|
|
|
| `endpoint`[^1] | | Gotify base URL |
|
|
| `token`[^1] | | Application token |
|
|
| `priority` | `1` | The priority of the message |
|
|
| `timeout` | `10s` | Timeout specifies a time limit for the request to be made |
|
|
|
|
## Sample
|
|
|
|

|
|
|
|
[^1]: Value required
|