mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-24 14:31:47 +01:00
2.7 KiB
2.7 KiB
Pushover notifications
You can send notifications using Pushover.
Configuration
!!! example "File"
yaml notif: pushover: token: uQiRzpo4DXghDmr9QzzfQu27cmVRsG recipient: gznej3rKEVAvPUxu9vvNnqpmZpokzF priority: -2 sound: none timeout: 10s templateTitle: "{{ .Entry.Image }} released" templateBody: | Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.
| Name | Default | Description |
|---|---|---|
token |
Pushover application/API token | |
tokenFile |
Use content of secret file as Pushover application/API token if token not defined |
|
recipient |
User key to send notification to | |
recipientFile |
Use content of secret file as User key if recipient not defined |
|
priority |
Priority of the notification | |
sound |
Notification sound to be used | |
timeout |
10s |
Timeout specifies a time limit for the request to be made |
templateTitle1 |
See below | Notification template for message title |
templateBody1 |
See below | Notification template for message body |
!!! abstract "Environment variables"
* DIUN_NOTIF_PUSHOVER_TOKEN
* DIUN_NOTIF_PUSHOVER_TOKENFILE
* DIUN_NOTIF_PUSHOVER_RECIPIENT
* DIUN_NOTIF_PUSHOVER_RECIPIENTFILE
* DIUN_NOTIF_PUSHOVER_PRIORITY
* DIUN_NOTIF_PUSHOVER_SOUND
* DIUN_NOTIF_PUSHOVER_TIMEOUT
* DIUN_NOTIF_PUSHOVER_TEMPLATETITLE
* DIUN_NOTIF_PUSHOVER_TEMPLATEBODY
Default templateTitle
[[ config.extra.template.notif.defaultTitle ]]
Default templateBody
[[ config.extra.template.notif.defaultBody ]]
Sample
-
Value required ↩︎
