Comments (7)
. I see. Thank you! I promise to RTFM.
from diun.
Hey that works! Thank you.
Nevertheless that should be documented here. Or is it already?
from diun.
@logopk What your diun.yml
looks like?
from diun.
watch:
workers: 20
schedule: "*/30 * * * *"
first_check_notif: false
providers:
docker:
mydocker:
watch_stopped: true
watch_by_default: true
remote:
endpoint: tcp://<#1 redacted>:2376
tls_certs_path: /certs
tls_verify: true
watch_stopped: true
watch_by_default: true
# this does not work
remote-pi:
endpoint: tcp://<#2 redacted>:2376
tls_certs_path: /certs-pi
tls_verify: true
watch_stopped: true
watch_by_default: true
static:
- name: debian:buster-slim
watch_repo: false
os: linux
max_tags: 1
- name: nextcloud:apache
watch_repo: false
os: linux
max_tags: 1
- name: php:7.2-apache
watch_repo: false
os: linux
max_tags: 1
- name: golang:alpine
watch_repo: false
os: linux
max_tags: 1
...
# this works
- name: registry.<xxx>:5000/logopk/cadvisor:v0.36.0-arm
watch_repo: true
os: linux
max_tags: 1
regopts_id: myregistry
notif:
mail:
enable: true
...
regopts:
myregistry:
username: xxx
password: yyy
from diun.
# this works - name: registry.<xxx>:5000/logopk/cadvisor:v0.36.0-arm
So it works?
from diun.
@logopk I think I get it. If you want to set regopts_id
for a Docker container, you have to use labels:
# ./docker-compose.yml
version: "3.5"
services:
diun:
image: crazymax/diun:2.6.1
volumes:
- "./userfile:/userfile"
- "./pwfile:/pwfile"
- "./diun.yml:/diun.yml:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- "TZ=Europe/Paris"
- "LOG_LEVEL=debug"
- "LOG_JSON=false"
restart: always
cadvisor:
image: registry.<xxx>:5000/logopk/cadvisor:v0.36.0-arm
labels:
- "diun.regopts_id=myregistry"
- "diun.watch_repo=true"
- "diun.max_tags=1"
restart: always
# ./diun.yml
watch:
workers: 20
schedule: 0 0 * * * *
regopts:
myregistry:
username_file: ./userfile
password_file: ./pwfile
providers:
docker:
mydocker:
watch_stopped: true
watch_by_default: true
from diun.
@logopk This is already documented here: https://github.com/crazy-max/diun/blob/master/doc/providers/docker.md
from diun.
Related Issues (20)
- tls: failed to verify certificate: x509: certificate is valid for ip-172-31-34-156.ec2.internal, not auth.docker.io HOT 1
- Error when using "DIUN_NOTIF_MAIL_HOST" variable HOT 3
- DIUN_NOTIF_TELEGRAM_TOKENFILE
- 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
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.