Doppler
| Variable | Required | Notes |
|---|---|---|
DOPPLER_TOKEN | yes | Service token used by the API |
export DOPPLER_TOKEN="dp.st...."Mapping model
Section titled “Mapping model”Doppler secrets are a flat key/value namespace. For monorepos, lazyenv uses a prefix convention:
- root folder:
DATABASE_URL apps/web:WEB__DATABASE_URLapps/api:API__DATABASE_URL
Prefix rule: take the last segment of the folder path, uppercase it, and append __.
Project and environments
Section titled “Project and environments”In .lazyenv/config.json:
store: must bedopplerprojectId: Doppler project nameenvironments: Doppler config names you plan to use (example:dev,prod)
- Doppler projects/configs should exist before
initin strict/CI usage. - If you rename a folder, your prefix changes, which effectively creates new keys in Doppler.