39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
---
|
|
# Diun default configuration
|
|
diun_version: "latest"
|
|
diun_schedule: "0 6 * * 1" # Weekly on Monday at 6am UTC (was daily)
|
|
diun_log_level: "info"
|
|
diun_watch_workers: 10
|
|
|
|
# Notification configuration
|
|
diun_notif_enabled: true
|
|
diun_notif_type: "webhook" # Options: webhook, slack, discord, email, gotify
|
|
diun_webhook_endpoint: "" # Set per environment or via secrets
|
|
diun_webhook_method: "POST"
|
|
diun_webhook_headers: {}
|
|
|
|
# Optional: Slack notification
|
|
diun_slack_webhook_url: ""
|
|
|
|
# Optional: Email notification (Mailgun)
|
|
# Note: Uses per-client SMTP credentials from mailgun role
|
|
diun_email_enabled: true
|
|
diun_smtp_host: "smtp.eu.mailgun.org"
|
|
diun_smtp_port: 587
|
|
diun_smtp_from: "{{ client_name }}@mg.vrije.cloud"
|
|
diun_smtp_to: "pieter@postxsociety.org"
|
|
|
|
# Which containers to watch
|
|
diun_watch_all: true
|
|
diun_exclude_containers: []
|
|
|
|
# Reduce notification spam - only send ONE email per server per week
|
|
diun_first_check_notif: false
|
|
|
|
# Optional: Matrix notification
|
|
diun_matrix_enabled: false
|
|
diun_matrix_homeserver_url: "" # e.g., https://matrix.postxsociety.cloud
|
|
diun_matrix_user: "" # e.g., @diun:matrix.postxsociety.cloud
|
|
diun_matrix_password: "" # Bot user password (if using password auth)
|
|
diun_matrix_access_token: "" # Bot access token (preferred over password)
|
|
diun_matrix_room_id: "" # e.g., !abc123:matrix.postxsociety.cloud
|