Comments (8)
@TUISTERa Yes I've planned to add this through a simple template. Keep you in touch.
from diun.
from diun.
Bump for inclusion of this, especially the ability to create custom headers for email and pushover notifications.
from diun.
Hello, Do you have any plans for adding this? At least i want to add a "#duin" at the end of the message , for filtering purpose at my telegram notifications...
from diun.
Would this also include the ability to provide a custom name to the bot for example on discord it shows up as DIUN[bot], i'd like to be able to customize the name such as DIUN-Server1name, DIUN-Server2Name so both of my monitored servers can alert the same channel and i can differentiate them.
from diun.
It would be very helpful if notifications included a link to the change log of the release. Unfortunately, that info doesn't seem readily available on docker hub, so a custom message with a link to the GitHub/website of the image would be an ok compromise.
from diun.
Working on it for the next release. You will be able to customize the title and body of the message for each notification providers. This will be limited to markdown and html rendering atm. The JSON or ENV output will remain immutable.
from diun.
You can test this feature with crazymax/diun:edge
. Documentation for each notifiers can be found here.
Example with mail
:
watch:
workers: 20
schedule: "0 */6 * * *"
firstCheckNotif: false
notif:
mail:
host: localhost
port: 25
ssl: false
insecureSkipVerify: false
from: [email protected]
to: [email protected]
templateTitle: |
{{ .Entry.Image }} released
templateBody: |
Docker tag {{ if .Entry.Image.HubLink }}[**{{ .Entry.Image }}**]({{ .Entry.Image.HubLink }}){{ else }}**{{ .Entry.Image }}**{{ end }}
which you subscribed to through {{ .Entry.Provider }} provider has been {{ if (eq .Entry.Status "new") }}newly added{{ else }}updated{{ end }}.
This image has been {{ if (eq .Entry.Status "new") }}created{{ else }}updated{{ end }} at
<code>{{ .Entry.Manifest.Created.Format "Jan 02, 2006 15:04:05 UTC" }}</code> with digest <code>{{ .Entry.Manifest.Digest }}</code>
for <code>{{ .Entry.Manifest.Platform }}</code> platform.
providers:
docker:
watchByDefault: true
Documentation about notification template: https://github.com/crazy-max/diun/blob/master/docs/faq.md#notification-template
from diun.
Related Issues (20)
- [Feature request] Support Pushover message priority HOT 1
- Only receiving notification after image has already been updated HOT 1
- Timezone discrepancy between container and host HOT 21
- SECRETS file error when utilized in NOTIF mail TO option via 'diun.yml' HOT 2
- How can I configure to ignore updates to certain images?
- It's possible remove color from logs?
- ERR Ntfy notification failed error="0 unauthorized: "
- Static webpage
- MQTT Enhancements for Home Assistant HOT 1
- Support multiple notifications
- Can't send mail notification through gmail
- Change "Skipping notification" log from DBG to INF
- Avoid to skip notification on first check HOT 1
- Domain is being stripped from username during SMTP auth.
- Have the possibility to define a custom webhook per container
- Microsoft Teams workflows - Change to existing notification-provider
- Unable to specify endpoint as a remote socket proxy HOT 1
- Diun Endpoint Not Working With Docker Socket Proxy HOT 1
- DIUN_DEFAULTS_EXCLUDETAGS ignored if exclude_tags is passed in provider file
- WEBHOOKURLFILE Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diun.