mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 22:32:04 +00:00
chore(compose): forward and document NOTIFICATION_PRIVATE_ORIGINS
Put the variable on the compose environment whitelist (without it a value in .env never reaches the process), on both example files, and in the env manifest so check-env reports it. The self-hosting notifications page gains a section on notification targets on a private network: the exact-origin grammar, what stays refused even when listed, and a table of which target is refused where so an operator knows which lever to pull. Refs #947
This commit is contained in:
1 parent
984a75d036
commit
9630b59973
5 files changed
+119
-9
No files matched your search
@@ -226,6 +226,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Notification targets on a private network",
|
||||
"description": "Operator grant for webhook (Gotify, Home Assistant, n8n) and ntfy targets on the operator's own network. Unset, a target that resolves to a private address is refused at send time and the test button reports private_origin_not_approved. Optional; public targets never need it.",
|
||||
"required": false,
|
||||
"variables": [
|
||||
{
|
||||
"name": "NOTIFICATION_PRIVATE_ORIGINS",
|
||||
"purpose": "Comma-separated exact origins (scheme://host[:port], no path, no wildcard, no CIDR), e.g. \"https://gotify.example.com,http://ntfy.lan:8080\". Loopback, link-local and metadata addresses stay refused even when listed; a malformed entry is logged once and grants nothing."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Off-host backups",
|
||||
"description": "Required ALL-OR-NONE: any of these without the rest disables backups silently.",
|
||||
|
||||
Reference in new issue
Block a user