Diun

diun.yml

---

notif:
  telegram:
    token: token_goes_here
    chatIDs:
      - telegram_chat_id_here

---

services:
  diun:
    image: crazymax/diun:latest
    container_name: diun
    command: serve
    restart: unless-stopped
    volumes:
      - "${DATA-DIUN}:/data"
      - "./diun.yml:/etc/diun.yml:ro"
      - "/var/run/docker.sock:/var/run/docker.sock"
    environment:
      - "TZ=${LOCATION}"
      - "LOG_LEVEL=info"
      - "LOG_JSON=false"
      - "DIUN_WATCH_WORKERS=20"
      - "DIUN_WATCH_SCHEDULE=0 */6 * * *"
      - "DIUN_PROVIDERS_DOCKER=true"
      - "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
      - "DIUN_NOTIF_TELEGRAM_TOKEN=${TOKEN-DIUN}"
      - "DIUN_NOTIF_TELEGRAM_CHATIDS=${DIUN-TELGRAM-CHATID}"