summaryrefslogtreecommitdiff
path: root/docs/POLICY.txt
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-10-30 22:36:11 -0500
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-10-30 22:36:11 -0500
commit6933ec28be3dac0dc17cd634c663db3b4818caad (patch)
tree22690260136d598d2719d97deb169b847b31424c /docs/POLICY.txt
parentc3b361c45ac8dd898d5c83a161abed5fc138b6c0 (diff)
Centralize deployment settings in the root environment file
Document public domains, ports, upstreams, chat binding, and backup defaults alongside private settings. Validate shared configuration and render Caddy, cgit, and website links from an explicit public allowlist while preserving one installation environment file.
Diffstat (limited to 'docs/POLICY.txt')
-rw-r--r--docs/POLICY.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/POLICY.txt b/docs/POLICY.txt
index 4c8d0bd..f662dd4 100644
--- a/docs/POLICY.txt
+++ b/docs/POLICY.txt
@@ -30,10 +30,13 @@ PROJECT CONVENTIONS
documentation. The generated HTML license page is an explicit exception.
Rust documentation attributes provide crate metadata without comments.
- Keep configured secrets only in the root .env. Never commit .env or var/.
+ Keep deployment overrides and configured secrets in the single root .env.
+ Never commit .env or var/.
Only the root .env.example is published; environment variants and nested
- examples are ignored. .env.example lists required keys with placeholders. Public hostnames,
- public GPG keys, paths, configuration, and source belong in Git.
+ examples are ignored. The commented .env.example publishes supported public
+ defaults and private placeholders. Public GPG keys, paths, templates, shared
+ configuration logic, and source belong in Git. Actual public hostnames remain
+ visible in rendered pages; .env centralization is not an access boundary.
TLS account/certificate private keys, databases, and other generated
private state are persistent data in var/data, not .env configuration.
The GPG secret key and revocation certificate remain outside this project.