name: diun services: diun: image: crazymax/diun:latest command: serve volumes: - "/var/lib/docker/volumes/diun/data:/data" - "/var/run/docker.sock:/var/run/docker.sock" environment: - "TZ=Europe/Paris" - "DIUN_WATCH_WORKERS=20" - "DIUN_WATCH_SCHEDULE=0 */6 * * *" - "DIUN_WATCH_JITTER=30s" - "DIUN_PROVIDERS_DOCKER=true" - "LOG_LEVEL=info" - "LOG_JSON=false" - "DIUN_NOTIF_MAIL_HOST=192.168.1.17" - "DIUN_NOTIF_MAIL_PORT=25" - "DIUN_NOTIF_MAIL_SSL=false" - "DIUN_NOTIF_MAIL_INSECURESKIPVERIFY=false" - "DIUN_NOTIF_MAIL_USERNAME=diun@sda.zone" - "DIUN_NOTIF_MAIL_PASSWORD=sda101176" - "DIUN_NOTIF_MAIL_FROM=diun@sda.zone" - "DIUN_NOTIF_MAIL_TO=thedarty@gmail.com" - "DIUN_NOTIF_MAIL_TEMPLATETITLE={{ .Entry.Image }} released" - "DIUN_NOTIF_MAIL_TEMPLATEBODY=Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released." labels: - "diun.enable=true" restart: always