Hold /privacy behind a flag until counsel reads it, and fix leftover legal and email copy.
This commit is contained in:
1 parent
ead6c8f716
commit
072e5362f5
43 files changed
+548
-191
No files matched your search
@@ -75,8 +75,14 @@ per-app in the manifest and provisioned at install time.
|
||||
- `SESSION_SECRET` — long random (`openssl rand -hex 32`). Required,
|
||||
≥ 16 chars. Rotating it logs everyone out.
|
||||
- `SMTP_FROM` — visible "From:" address on sign-in emails. Cloudron
|
||||
does not inject this. Use `hello@communityrule.info` (continuity
|
||||
with the legacy service; SES relay accepts it).
|
||||
does not inject this. Use `CommunityRule <hello@communityrule.info>`
|
||||
(continuity with the legacy service; SES relay accepts it). A leftover
|
||||
`Community Rule` display name is rewritten to one word.
|
||||
- `ENABLE_PRIVACY_POLICY=true` — turns on `/privacy` at runtime. Staging
|
||||
keeps this on so counsel can read the page. Leave unset in production
|
||||
until that review is done (the route 404s and public chrome does not
|
||||
link to it). `NEXT_PUBLIC_ENABLE_PRIVACY_POLICY` is the same switch
|
||||
baked at image build; prefer the runtime name on Cloudron.
|
||||
- `NEXT_PUBLIC_ENABLE_BACKEND_SYNC=true` — turns on Postgres draft
|
||||
persistence for signed-in users. Required in production.
|
||||
- `UPLOAD_ROOT` — absolute path to a writable directory on the Cloudron
|
||||
@@ -444,7 +450,8 @@ production env vars, and verify the vertical slice before apex cutover
|
||||
```bash
|
||||
cloudron env set --app staging.communityrule.info \
|
||||
SESSION_SECRET="$(openssl rand -hex 32)" \
|
||||
SMTP_FROM="Community Rule <hello@communityrule.info>" \
|
||||
SMTP_FROM="CommunityRule <hello@communityrule.info>" \
|
||||
ENABLE_PRIVACY_POLICY=true \
|
||||
NEXT_PUBLIC_ENABLE_BACKEND_SYNC=true \
|
||||
UPLOAD_ROOT=/app/data/uploads
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user