feat: expose health probes and metrics

This commit is contained in:
2026-07-19 12:49:39 +08:00
parent 6a10ddb6e5
commit 428ee50cd6
6 changed files with 27 additions and 2 deletions
+2
View File
@@ -16,6 +16,8 @@ READING_HISTORY_RETENTION_DAYS=0
AUDIT_RETENTION_DAYS=365
# Optional Discord webhook URL or ntfy topic URL (for example https://ntfy.sh/my-private-topic).
ALERT_WEBHOOK_URL=
# Optional Bearer token for GET /api/metrics. Leave empty only when metrics are restricted by your network/proxy.
METRICS_TOKEN=
# Optional: create the first Memos source for the bootstrap admin.
SEED_MEMOS_NAME=
SEED_MEMOS_URL=