Posting DIUN
This commit is contained in:
53
DIUN.md
Normal file
53
DIUN.md
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
|
||||||
|
```yaml
|
||||||
|
services:
|
||||||
|
diun:
|
||||||
|
image: crazymax/diun:latest
|
||||||
|
container_name: DIUN
|
||||||
|
command: serve
|
||||||
|
volumes:
|
||||||
|
- "/volume1/docker/diun/:/data"
|
||||||
|
- "/volume1/docker/diun/diun.yml:/diun.yml:ro"
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
environment:
|
||||||
|
- "TZ=Europe/Rome"
|
||||||
|
- "DIUN_WATCH_WORKERS=20"
|
||||||
|
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
|
||||||
|
- "DIUN_WATCH_JITTER=30s"
|
||||||
|
- "DIUN_PROVIDERS_DOCKER=true"
|
||||||
|
- "DIUN_WATCH_FIRSTCHECKNOTIF=true"
|
||||||
|
labels:
|
||||||
|
- "diun.enable=true"
|
||||||
|
restart: always
|
||||||
|
```
|
||||||
|
|
||||||
|
## CONFIGURAZIONE del file `diun.yml`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
watchRepo: false
|
||||||
|
notifyOn:
|
||||||
|
- new
|
||||||
|
- update
|
||||||
|
watch:
|
||||||
|
firstCheckNotif: true
|
||||||
|
notif:
|
||||||
|
mail:
|
||||||
|
host: out.smtpfy.com
|
||||||
|
username: eqwououimu_tr
|
||||||
|
password: 4ZrQq75l9vP%m5n%cBPfEamW
|
||||||
|
port: 465
|
||||||
|
ssl: true
|
||||||
|
insecureSkipVerify: false
|
||||||
|
from: support@soleyma.com
|
||||||
|
to:
|
||||||
|
- support@soleyma.com
|
||||||
|
templateTitle: "{{ .Entry.Image }} released"
|
||||||
|
templateBody: |
|
||||||
|
Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.
|
||||||
|
slack:
|
||||||
|
webhookURL: https://hooks.slack.com/services/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
|
||||||
|
renderFields: true
|
||||||
|
templateBody: |
|
||||||
|
Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user