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:
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.