Configuration
The .env settings for a self-hosted installation, and what changes when it can send email.
Self-hosted
Configuration
Set these in .env, then run docker compose up -d to apply them.
| Variable | Default | Meaning |
|---|---|---|
EVERR_VERSION | The release compose.yaml pins | Version of both the app and collector images. See Upgrades. |
BETTER_AUTH_URL | http://localhost:3000 | Public app URL, used in sign-in, invitation, and password reset links. |
EVERR_PUBLIC_INGEST_URL | http://localhost:4318 | Public collector URL, shown in telemetry onboarding and by everr cloud status. |
BIND_ADDRESS | 127.0.0.1 | Host address the app and collector ports bind to. |
APP_PORT | 3000 | Host port for the app. |
OTLP_HTTP_PORT | 4318 | Host port for OTLP/HTTP. |
OTLP_GRPC_PORT | 4317 | Host port for OTLP/gRPC. |
TRUST_PROXY | false | Which peers the app trusts for X-Forwarded-* headers. See Remote access. |
EMAIL_DSN | Empty | SMTP server as an smtp:// or smtps:// URL. URL-encode special characters in the credentials. |
EMAIL_FROM | Empty | Sender address, as you@example.com or Everr <you@example.com>. Required when EMAIL_DSN is set. |
EMAIL_REPLY_TO | Empty | Reply-to address. |
MCP_OAUTH_ALLOWED_REDIRECT_URIS | Unset: the Everr Cloud list | Callback URIs hosted MCP clients may use. Empty allows only apps on your computer. See MCP server. |
EVERR_RETENTION_DAYS | 30 | Telemetry retention: 1, 7, 14, 30, 90, 180, or 365 days. |
configure.shalso writes the database passwords,BETTER_AUTH_SECRET,INGEST_VERIFY_SHARED_SECRET, andCLICKHOUSE_SQL_API_PASSWORD. A changed database password in.envdoes not change the password in an initialized database.- Single-quote values that contain
$. - Changing a port does not change
BETTER_AUTH_URLorEVERR_PUBLIC_INGEST_URL. Update them too. - PostgreSQL and ClickHouse have no published ports.
Set EMAIL_DSN and EMAIL_FROM to send email.
| With SMTP | Without SMTP | |
|---|---|---|
| Invitations | Sent by email. | Share the invitation link yourself. |
| Accepting invitations | The recipient verifies the email first and can request a verification email from the invitation page. | No verification step. Accepting does not mark the email as verified. |
| Password recovery | Users reset their password by email. | Users are told to contact their administrator. |
The app shows an invitation link once, after you create the invitation. Copy it before you close the dialog. Inviting the same email again creates a new link and cancels the previous invitation.