44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
services:
|
|
diun:
|
|
image: crazymax/diun:latest
|
|
container_name: diun
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- ./data:/data
|
|
|
|
environment:
|
|
TZ: Europe/Vienna
|
|
|
|
# General
|
|
DIUN_WATCH_WORKERS: 20
|
|
DIUN_WATCH_SCHEDULE: "0 0 * * *"
|
|
DIUN_PROVIDERS_DOCKER: "true"
|
|
DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT: "true"
|
|
|
|
# Metrics
|
|
|
|
DIUN_METRICS_ENABLED: "true"
|
|
DIUN_METRICS_ADDR: ":9090"
|
|
DIUN_METRICS_TOKEN: "Qj#8C!@Uz3uRWm@mCd@KH6Bo7nfQ4K"
|
|
# Email notifications
|
|
DIUN_NOTIF_MAIL_HOST: smtp.web.de
|
|
DIUN_NOTIF_MAIL_PORT: 587
|
|
DIUN_NOTIF_MAIL_USERNAME: ll_m@web.de
|
|
DIUN_NOTIF_MAIL_PASSWORD: Mira2012
|
|
DIUN_NOTIF_MAIL_FROM: ll_m@web.de
|
|
DIUN_NOTIF_MAIL_TO: ll_m@web.de
|
|
DIUN_NOTIF_MAIL_INSECURESKIPVERIFY: "false"
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
networks:
|
|
- shared-prometheus-services
|
|
networks:
|
|
shared-prometheus-services:
|
|
external: true
|
|
|