Skip to Content

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.

VariableDefaultMeaning
EVERR_VERSIONThe release compose.yaml pinsVersion of both the app and collector images. See Upgrades.
BETTER_AUTH_URLhttp://localhost:3000Public app URL, used in sign-in, invitation, and password reset links.
EVERR_PUBLIC_INGEST_URLhttp://localhost:4318Public collector URL, shown in telemetry onboarding and by everr cloud status.
BIND_ADDRESS127.0.0.1Host address the app and collector ports bind to.
APP_PORT3000Host port for the app.
OTLP_HTTP_PORT4318Host port for OTLP/HTTP.
OTLP_GRPC_PORT4317Host port for OTLP/gRPC.
TRUST_PROXYfalseWhich peers the app trusts for X-Forwarded-* headers. See Remote access.
EMAIL_DSNEmptySMTP server as an smtp:// or smtps:// URL. URL-encode special characters in the credentials.
EMAIL_FROMEmptySender address, as you@example.com or Everr <you@example.com>. Required when EMAIL_DSN is set.
EMAIL_REPLY_TOEmptyReply-to address.
MCP_OAUTH_ALLOWED_REDIRECT_URISUnset: the Everr Cloud listCallback URIs hosted MCP clients may use. Empty allows only apps on your computer. See MCP server.
EVERR_RETENTION_DAYS30Telemetry retention: 1, 7, 14, 30, 90, 180, or 365 days.
  • configure.sh also writes the database passwords, BETTER_AUTH_SECRET, INGEST_VERIFY_SHARED_SECRET, and CLICKHOUSE_SQL_API_PASSWORD. A changed database password in .env does not change the password in an initialized database.
  • Single-quote values that contain $.
  • Changing a port does not change BETTER_AUTH_URL or EVERR_PUBLIC_INGEST_URL. Update them too.
  • PostgreSQL and ClickHouse have no published ports.

Email

Set EMAIL_DSN and EMAIL_FROM to send email.

With SMTPWithout SMTP
InvitationsSent by email.Share the invitation link yourself.
Accepting invitationsThe 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 recoveryUsers 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.

On this page