Comments (7)
Hm, I think having both possibilities would be great, so it's possible to "just enable diun" with a single-word-label, but also to directly configure it for more advanced options. I'll try to put something together. :)
from diun.
So, I'd suggest the following labels:
-l diun
just checks forConfig.Image
(so, the tag the container has been started with)-l diun='^1\.2\..*'
enables watch_repo & checks for the matching tags (like include_tags)-l diun='1.2.*'
- why not use wildcards if the tag name is valid except for the wildcard? This is also relevant for include_tags...-l diun=true
is like-l diun
-l diun=false
disables diun explicitly
I'd also add to the watch
config section:
watch:
docker: true # or a path to the Docker socket
unlabeled-containers: true # also watch unlabeled containers?
stopped-containers: true # also watch stopped containers?
If that's fine, I can create a pull request for that. ๐
from diun.
Hi @moqmar,
Thanks for your suggestions!
I would prefer to work with fields. This way we could easily serialize to the same struct as the current static configuration:
diun.enable=true/false
diun.watch_repo=true/false
diun.max_tags=0
diun.include_tags.one=^1\.2\..*
diun.include_tags.other=latest
diun.exclude_tags.foo=^1\.2\..*
diun.exclude_tags.bar=latest
diun.include_tags/exclude_tags
is a map here.
What do you think? Anyway feel free to open a PR :)
from diun.
@moqmar Of course, I was just stating all the labels and there will be default values.
from diun.
Glad to see this is still progressing in some way. My biggest concern with running containers is that you don't typically see any update notifications anywhere. You can use things like Ouroboros and the other one I've forgotten but that's assuming that all containers are created equal and sadly this is not the case. Sometimes you just use a container because it's the only one reliable enough to deploy.
At least being notified will make a big difference.
from diun.
@Leopere Done through release 2.0.0
from diun.
Oh, that's very nice thank you! I'm looking forward to plugging this thing into my entire docker stack!
from diun.
Related Issues (20)
- Newer semver image tags notification for `file` provider
- Cannot send notification with Signal-REST to Signal group chat
- Diun not found any image. HOT 2
- Nomad provider errors out with "invalid memory address or nil pointer dereference" HOT 2
- Google Artifact Registry Service Account key.json as PASSWORDFILE
- Diun doesn't send notifications about new images found HOT 2
- Check images behind docker proxy
- Make "info" logs less verbose
- Feature request: Support for generic push healthchecks
- [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
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.