Skip to Content

Remote access

Reach a self-hosted installation from other machines through a TLS reverse proxy.

Self-hosted

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.