Files
Docker_Compose/DIUN.md
2025-10-21 16:20:04 +01:00

1.3 KiB

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

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.