mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
2.7 KiB
2.7 KiB
Apprise notifications
Notifications can be sent using an apprise api instance.
Configuration
!!! example "File"
yaml notif: apprise: endpoint: http://apprise:8000 token: abc tags: - diun 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 |
|---|---|---|
endpoint1 |
Hostname and port of your apprise api instance | |
token2 |
token representing your config file (Config Key) | |
tokenFile |
Use content of secret file as application token if token not defined |
|
tags |
List of Tags in your config file you want to notify | |
urls2 |
List of URLs to notify | |
timeout |
10s |
Timeout specifies a time limit for the request to be made |
tlsSkipVerify |
false |
Skip TLS certificate verification |
tlsCaCertFiles |
List of paths to custom CA certificate files to use for TLS verification | |
templateTitle |
See below | Notification template for message title |
templateBody |
See below | Notification template for message body |
!!! abstract "Environment variables"
* DIUN_NOTIF_APPRISE_ENDPOINT
* DIUN_NOTIF_APPRISE_TOKEN
* DIUN_NOTIF_APPRISE_TAGS
* DIUN_NOTIF_APPRISE_URLS
* DIUN_NOTIF_APPRISE_TIMEOUT
* DIUN_NOTIF_APPRISE_TLSSKIPVERIFY
* DIUN_NOTIF_APPRISE_TLSCACERTFILES
* DIUN_NOTIF_APPRISE_TEMPLATETITLE
* DIUN_NOTIF_APPRISE_TEMPLATEBODY
Default templateTitle
[[ config.extra.template.notif.defaultTitle ]]
Default templateBody
[[ config.extra.template.notif.defaultBody ]]