Add config validation and dashboard
Add YAML config loading with validation, env overrides for secrets, and a web dashboard exposing health, stats, and recent events.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user