INIT_DB_* env vars.
Day-2 connection changes belong in Organisation → Project → Database configurations / Connectors, not in live container env vars. See Database Config.
When to use this feature
- Different environments — keep
productionandstagingClickHouse clusters on separate configs - Multi-tenancy — isolate datasets per customer while sharing one OpenLIT deployment
- Centralized management — switch active Database Config from the header Databases control
Get started

- Log in to OpenLIT (
user@openlit.io/openlituseron local seed installs). - Select organisation, project, and environment in the header.
- Open Organisation → Project → Database configurations (or Connectors → ClickHouse).
- Click Add, enter host, port, database, credentials, and environment.
- Save, then mark the config active for your user.
- Dashboards, requests, Prompt Hub, and Vault use the active Database Config for that project.
Database Config
Env vars → Database Config migration and field reference
Environments
How environments partition configs and connectors
Connectors
Data-source and memory connectors for OpenLIT

