Files
FabledSteward/config.example.yaml
T
2026-03-17 18:43:57 -04:00

37 lines
918 B
YAML

# FabledNetMon configuration example
# Copy to config.yaml and fill in your values.
# Secrets can be set via env vars: FABLEDNETMON_<UPPER__PATH>
secret_key: "change-me-to-a-random-string"
database:
url: "postgresql+asyncpg://fablednetmon:password@localhost/fablednetmon"
session:
lifetime_hours: 8
data:
retention_days: 90
# plugin_dir: ./plugins # optional; defaults to ./plugins relative to config.yaml
plugins: {}
# traefik:
# enabled: true
# metrics_url: "http://localhost:8080/metrics"
# scrape_interval_seconds: 60
smtp:
host: ""
port: 587
tls: true
username: ""
password: "" # or: FABLEDNETMON_SMTP__PASSWORD env var
recipients: []
# - admin@example.com
webhook:
url: "" # leave empty to disable
template: |
{"content": "**{{ alert.state }}** — {{ alert.resource }} — {{ alert.rule_name }} ({{ alert.metric }} = {{ alert.value }})"}