Gate self-serve registration behind ENABLE_ACCOUNT_REGISTRATION (default false).
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 10s

Supports chat_web_app#31: public settings + /user/create/ create company/user and return JWTs for Stripe Checkout. Document flag in env/secret templates.
This commit is contained in:
2026-07-27 06:17:42 -05:00
parent ad44359804
commit 6e34fd95ec
8 changed files with 160 additions and 15 deletions
+1
View File
@@ -90,6 +90,7 @@ with `COMPOSE_DATABASE_URL` if needed.
| `OLLAMA_MODEL` / `OLLAMA_EMBED_MODEL` | from `DEBUG` | optional | Override model names |
| `EMAIL_HOST_*` | empty | yes (prod/beta) | SMTP2GO |
| `CAPTCHA_SECRET_KEY` | empty | recommended | |
| `ENABLE_ACCOUNT_REGISTRATION` | `false` | optional | Self-serve sign-up; keep false until ready |
| `STRIPE_SECRET_KEY` / `STRIPE_PUBLISHABLE_KEY` / `STRIPE_WEBHOOK_SECRET` | empty | yes for billing | Stripe API + webhook |
| `STRIPE_PRICE_ID` | empty | optional | Pre-created Price; else `$10/mo` from settings |
| `FRONTEND_BASE_URL` | `http://localhost:3000` | set in prod | Checkout success/cancel base |