Guides

Self-hosting

Run the Everr app, collector, PostgreSQL, and ClickHouse on your own machine with Docker Compose.

Run Everr on one machine with Docker Compose, then send it telemetry and connect the CLI.

git clone --depth 1 https://github.com/everr-labs/everr.git
cd everr/deploy
./configure.sh
docker compose up -d --wait

You need Docker with Compose. configure.sh also needs OpenSSL to generate the secrets in .env. The everr-app and everr-collector images come from ghcr.io/everr-labs for amd64 and arm64. The bundle does not ingest GitHub CI runs.

Get the files

git clone --depth 1 https://github.com/everr-labs/everr.git
cd everr/deploy

Run every command on this page from the deploy directory.

Configure

./configure.sh

The script creates .env with a random value for each secret. It refuses to overwrite an existing .env. Edit .env to change the configuration below, for example to send email.

Start

docker compose up -d --wait

The app applies its PostgreSQL and ClickHouse migrations when it starts. The collector starts after the app is healthy.

Create the workspace

Open http://localhost:3000 and create the workspace. The first person to finish setup becomes the owner. Setup closes once the workspace exists.

Send telemetry

In Everr, open the user menu, click API keys, then New key, and turn on Send telemetry. Configure your application's OpenTelemetry exporter with the key:

OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer YOUR_INGEST_KEY"
OTEL_SERVICE_NAME=my-app
  • For an application on another machine, use the collector URL it can reach (EVERR_PUBLIC_INGEST_URL).
  • Browser applications need a public key with their origin allowed. See Browser telemetry.
  • The collector rejects requests without a valid key. The key sets the workspace and the retention.

Connect the CLI

everr cloud login --url http://localhost:3000
everr cloud status

Approve the login in your browser. everr cloud status prints the ingestion endpoint, which is EVERR_PUBLIC_INGEST_URL. See Connect to an installation.

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 Upgrade below.
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 below.
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.
CLICKHOUSE_SQL_API_USERNAMEsql_apiClickHouse user for the SQL API. Keep it unchanged when you reuse an existing ClickHouse volume.
  • 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.

Remote access

The app and collector ports bind to 127.0.0.1. To reach them from other machines, put a TLS reverse proxy on the host in front of the app (port 3000) and OTLP/HTTP (port 4318). With Caddy:

Caddyfile
everr.example.com {
	reverse_proxy 127.0.0.1:3000
}

ingest.example.com {
	reverse_proxy 127.0.0.1:4318
}

Leave BIND_ADDRESS at 127.0.0.1 and set:

.env
BETTER_AUTH_URL=https://everr.example.com
EVERR_PUBLIC_INGEST_URL=https://ingest.example.com
TRUST_PROXY=true
docker compose up -d
  • The proxy must keep the /v1/traces, /v1/logs, and /v1/metrics paths and forward the Authorization and Origin headers.
  • OTLP/gRPC uses port 4317 and needs a gRPC-capable proxy.
  • A proxy in a container must join the Compose network or reach the host ports.

TRUST_PROXY lets the app read the original scheme, host, and client address from X-Forwarded-Proto, X-Forwarded-Host, and X-Forwarded-For. Any client can send those headers, so trust only your proxy:

ValueTrustsSafe when
false (default)No peerNothing sits in front of the app.
trueEvery peerThe proxy is the only way to reach port 3000 and overwrites the headers. The default BIND_ADDRESS keeps other machines out.
IP list, such as 172.18.0.1Only the listed addressesYou know the proxy's address as the app sees it. A proxy on the host usually connects from the Docker bridge gateway. A proxy in a container connects from its address on the Compose network.
loopbackLoopback addressesThe proxy connects from a loopback address inside the app container's network namespace.

Any other value stops the app at startup.

Operations

Upgrade

Back up first, then update the clone and the images:

git pull
docker compose pull
docker compose up -d --wait

compose.yaml pins the release, so git pull moves the installation to the latest one. It does not touch .env. To stay on a release, set EVERR_VERSION in .env instead:

.env
EVERR_VERSION=0.11.0
  • EVERR_VERSION sets both the app and collector images, so they stay on the same version. It matches the everr CLI version.
  • The new app applies the database migrations when it starts.
  • Never pin a version older than the one the installation already ran. The app does not roll back ClickHouse migrations.
  • Stable releases are also tagged by minor version (0.11) and as latest.