Skip to content

Environment variables

VariableEffect
DOZE_HOMEThe shared home (default ~/.doze): engine cache, module cache, per-project state.
DOZE_VAR_<name>Sets config variable "<name>" (lower precedence than --var).
DOZE_MODULESoff disables module fetching entirely (offline / process-only).
DOZE_MODULES_MIRRORRegistry base override — URL or file:// path.
DOZE_<TYPE>_PLUGINPath to a local plugin binary for an engine type; skips registry fetch and its metadata gates (module development).
DOZE_<ENGINE>_BINDIRExplicit engine bin directory (e.g. DOZE_POSTGRES_BINDIR); bypasses mirror + lock.
DOZE_<ENGINE>_MIRRORPer-engine binaries-mirror base.
DOZE_MIRRORGlobal binaries-mirror root (engine name appended).
NO_COLORPlain output (also automatic when stdout isn’t a terminal).

Precedence, where they overlap: explicit local override (_PLUGIN/_BINDIR) → lockfile pin → mirror/registry resolution.

Variables doze writes (for process blocks)

Section titled “Variables doze writes (for process blocks)”

A supervised process receives connection variables for the dependencies it references — the same set written to .doze/endpoints.yaml for external tooling (doze run deliberately does not inject them; see Workflows):

VariableFor
DATABASE_URLpostgres
REDIS_URLvalkey / kvrocks
MONGODB_URIferret
MYSQL_URLmariadb
AWS_ENDPOINT_URL_S3 / _SQS / _SNSthe local AWS engines
AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY / AWS_REGIONdummy credentials the local AWS engines accept (test / test / us-east-1)

Per-instance attributes (postgres.app.url, sqs.jobs.name, …) are also available as config references for wiring values explicitly.