evidence serve, which is similar to evidence dev but hardened as a production server.
Self-hosted projects must use a direct connector (configured in connection.yaml).
Docker containers can run on many platforms, major cloud providers or your own machine. See the below guides for some tested options:
Should you self host?
Self hosting is appropriate if:- Your organization requires data does not leave your infrastructure
- You have a hobby project and do not want to pay for a managed service
- Several platform features (e.g. User Auth, Access Controls, Evidence Agents) are not built in
- There are no platform fees, but you will incur costs from infrastructure and maintenance
- You need to handle security, monitoring, and scaling on your own
Generic Docker Deployment
Details may differ, but these steps are required for all Docker deployments.-
Add a
Dockerfile: -
Move secrets out of
connection.yaml, replacing them with${VAR}environment references -
Commit
connection.yaml(it is gitignored by default) -
Add environment variables
* Unless auth disabled
- Start the server
Self Host vs. Evidence Studio
Self-hosting allows you to render your SQL + markdown into interactive reports — but the Evidence Studio platform has many additional features:Authentication
Self-hosted sites are protected by HTTP Basic Auth. The browser caches credentials in memory until the browser is exited (there is no logout button). To force all viewers to re-authenticate, changeEVIDENCE_BASIC_PASSWORD and redeploy.
For deployments only reachable over a trusted private network (VPN, Tailscale, internal VPC), set EVIDENCE_AUTH_DISABLED=true to skip authentication entirely.
