Add YAML config loading with validation, env overrides for secrets, and a web dashboard exposing health, stats, and recent events.
21 lines
360 B
YAML
21 lines
360 B
YAML
server:
|
|
url: https://ntfy.example.com
|
|
listen: ":9090"
|
|
defaults:
|
|
priority: 3
|
|
sources:
|
|
gitea:
|
|
- name: "test1"
|
|
webhook_path: /webhooks/same
|
|
topic: test
|
|
generic:
|
|
- name: "test2"
|
|
webhook_path: /webhooks/same
|
|
topic: test
|
|
dedup:
|
|
enabled: false
|
|
ttl_seconds: 300
|
|
rate_limit:
|
|
max_per_minute: 10
|
|
max_per_source: 30
|