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 --waitYou 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/deployRun every command on this page from the deploy directory.
Configure
./configure.shThe 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 --waitThe 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 statusApprove 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.
| Variable | Default | Meaning |
|---|---|---|
EVERR_VERSION | The release compose.yaml pins | Version of both the app and collector images. See Upgrade below. |
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 below. |
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. |
CLICKHOUSE_SQL_API_USERNAME | sql_api | ClickHouse user for the SQL API. Keep it unchanged when you reuse an existing ClickHouse volume. |
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.
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:
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:
BETTER_AUTH_URL=https://everr.example.com
EVERR_PUBLIC_INGEST_URL=https://ingest.example.com
TRUST_PROXY=truedocker compose up -d- The proxy must keep the
/v1/traces,/v1/logs, and/v1/metricspaths and forward theAuthorizationandOriginheaders. - 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:
| Value | Trusts | Safe when |
|---|---|---|
false (default) | No peer | Nothing sits in front of the app. |
true | Every peer | The 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.1 | Only the listed addresses | You 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. |
loopback | Loopback addresses | The 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 --waitcompose.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:
EVERR_VERSION=0.11.0EVERR_VERSIONsets both the app and collector images, so they stay on the same version. It matches theeverrCLI 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 aslatest.