Environment variable reference
Every Community setting lives in community/.env inside your installation directory. The installer generates it with private permissions (600), creates all secrets, and preserves existing values when you run it again.
Tip: Use
helpin configurefor URLs, ports, email, and the AI provider key. Edit.envdirectly for everything else, then runhelpin restartto apply your changes.
Public URLs and ports
Variable | Default | Description |
|---|---|---|
|
| Public origin of the staff dashboard. Used in emails, links, and the GitHub App manifest. |
|
| Public origin visitors' browsers use for the chat widget API. |
|
| Public URL of the widget loader script. |
|
| Public origin of object storage. It must be reachable over HTTPS on a public install. |
|
| Interface the published ports bind to. Keep loopback behind a reverse proxy. |
|
| Dashboard, API, and widget port. |
|
| Public help center port. |
|
| Object storage port. |
|
| Exact address or CIDR of your reverse proxy as the ingress sees it. Never use |
Built-in HTTPS proxy
Variable | Default | Description |
|---|---|---|
| Empty (local) |
|
| Empty | Optional email for certificate expiry notices (built-in only). |
|
| Host ports the built-in proxy listens on. Certificates need 80 or 443 to be reachable from the internet. |
|
| Private network between the proxy and Helpin. Change it only if it collides with an existing network. |
|
| Addresses given to the other services on that network. |
|
| The proxy's fixed address, which Helpin trusts. It must be inside |
With the built-in proxy, COMMUNITY_TRUSTED_PROXY_CIDR is set to EDGE_PROXY_IP/32 for you.
Product and accounts
Variable | Default | Description |
|---|---|---|
|
| Product areas available on this server. Support requires Docs. Workspace roles still apply. |
|
| Sends verification emails and shows the verification UI. Requires working application email. |
| Empty | Comma-separated addresses that are always server admins once verified. |
| Edition default (on) | Set |
| Empty | Account visitors of |
|
| Ask demo visitors for their email first. |
| Empty | Receives emails captured on |
Application email
Variable | Default | Description |
|---|---|---|
| Empty | SMTP server. Leave empty to manage email in Settings → System status instead. |
|
| SMTP port. |
| Empty | Set both for authenticated delivery, or neither for a trusted relay. |
| Empty | Sender address. Required when SMTP is set. |
|
|
|
See Application email for setup and testing.
AI and knowledge search
Agent connections are configured per workspace in Settings → AI, not here. These server keys are optional.
Variable | Default | Description |
|---|---|---|
| Empty | Server-wide key for knowledge embeddings. It also appears as a shared AI connection in every workspace. |
| Empty | OpenAI-compatible API base, including |
|
| Embedding model. It must return 1,536 dimensions. |
| Empty | Server-wide OpenRouter key. Used for embeddings when |
| Empty | Server-wide Anthropic key, shared with every workspace. Anthropic has no embeddings API. |
|
| Allow ChatGPT sign-in connections. Enable both together. |
External tools (MCP) for agents
Variable | Default | Description |
|---|---|---|
|
| Allow plain-HTTP MCP servers. |
|
| Allow MCP servers on private or LAN addresses. |
| Empty | Explicit host allowlist for MCP servers. |
GitHub
Variable | Description |
|---|---|
| Pin an existing GitHub App instead of creating one from the app. The private key may be PEM, escaped PEM, or base64. |
| Optional OAuth credentials for a pinned App. |
Limits and observability
Variable | Default | Description |
|---|---|---|
|
| Authenticated API and MCP requests per user per minute. |
|
| Expensive actions per minute, such as agent runs, re-indexing, and generation. |
| Empty | Opt in to error reporting to your own Sentry project. Nothing is sent by default. |
Secrets and encryption keys
The installer generates these. Don't change or lose them.
Variable | Protects |
|---|---|
| Session tokens |
| Private service-to-service calls |
| Stored AI provider keys |
| Credentials held by Agent Runtime |
| Mail and calendar tokens, the SMTP password saved in the app, 2FA and import secrets |
| Git provider tokens and GitHub App secrets |
| Database and cache access |
| Object storage |
Warning: If you rotate an encryption key only in
.env, everything already encrypted with it becomes unreadable. Back up.envwith your data, and never regenerate keys to fix a connectivity problem.
Release pins
HELPIN_VERSION, AGENT_RUNTIME_VERSION, and COMPOSE_PROJECT_NAME are managed by the CLI. Changing a version here doesn't upgrade anything. Use helpin upgrade instead. Keep COMPOSE_PROJECT_NAME unchanged, because it identifies your data volumes.
Was this article helpful?