Prerequisites
- Postgres database with the
pgvectorextension installed
Accessing the Lightdash image
The Lightdash image is available on DockerHub. You can pull a specific version (recommended) or uselatest.
Recommended version strategy
We publish frequent releases, and we donโt currently provide an LTS (long-term support) or โstableโ tag for self-hosted deployments. Our recommendation:- Use a pinned version in production (e.g.
lightdash/lightdash:0.2248.3) rather thanlatest - Pinning makes deployments repeatable and avoids unexpected changes
- Upgrade in staging first
- Run your normal validation (SSO, connections, dbt refreshes, scheduled jobs, embeds, critical dashboards)
- Roll out to production when youโre comfortable
License key
A license key is required for Enterprise Edition features. Set it via theLIGHTDASH_LICENSE_KEY environment variable. Your license key will be shared by the Lightdash team via 1Password.
License validation requires outbound access to
https://api.keygen.sh.After activating your license key
Once your license key is active, most Enterprise features are controlled by environment variables. To enable a specific feature, youโll need to set the corresponding variable:| Feature | Environment variable | Documentation |
|---|---|---|
| Custom roles | CUSTOM_ROLES_ENABLED=true | Custom roles |
| AI agents | AI_AGENTS_ENABLED=true | AI agents |
| Caching | RESULTS_CACHE_ENABLED=true | Caching |
| Embedding | EMBEDDING_ENABLED=true | Embedding |
Migration from OSS
If youโre migrating from the open-source version to Enterprise Edition:- Migrate to a commercial version matching your current OSS version
- Once a single container is running the commercial version, the connected database will be upgraded to include the commercial schemas
- Any other OSS containers will fail on restart but can be run temporarily
- Roll out the commercial version to all containers as soon as the first container successfully migrates