mirror of
https://github.com/crazy-max/diun.git
synced 2024-11-24 16:06:46 +00:00
2.5 KiB
2.5 KiB
Pushover notifications
You can send notifications using Pushover.
Configuration
!!! example "File"
yaml notif: pushover: token: uQiRzpo4DXghDmr9QzzfQu27cmVRsG recipient: gznej3rKEVAvPUxu9vvNnqpmZpokzF priority: -2 sound: none 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 | |
templateTitle 1 |
See below | Notification template for message title |
templateBody 1 |
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_TEMPLATETITLE
* DIUN_NOTIF_PUSHOVER_TEMPLATEBODY
Default templateTitle
[[ config.extra.template.notif.defaultTitle ]]
Default templateBody
[[ config.extra.template.notif.defaultBody ]]
Sample
-
Value required ↩︎