Skip to content

Secrets & environment ​

dte stores no credentials. Connections are Airflow connections, kept in the metadata database (Fernet-encrypted), AIRFLOW_CONN_* variables, or a secrets backend. Rotation is an Airflow change; dte picks it up on the next run. See Connections.

Env variables dte reads ​

Set on every Airflow component (api-server, scheduler, dag-processor, workers).

VariablePurpose
DTE_DATABASE_URLRequired. A Postgres database for dte's tables (postgresql://…, dte schema). Recommended: its own database and role with no access to Airflow's; Airflow's metadata database also works. Airflow 3 hides its own URL from DAG parsing and tasks, so dte needs it passed explicitly.
DTE_ARTIFACT_DIRWhere run artifacts go. Use a path every component shares.
DTE_AIRFLOW_URLHow the api-server reaches Airflow's REST API to trigger runs. Default http://localhost:8080.
DTE_RUN_TIMEOUT_SECONDSA run's execution_timeout when its schedule sets none. Default 1800 (30 min).
DTE_PREVIEW_TIMEOUT_SECONDSPreview, schema inference and dry runs give up with a 504 after this. Default 30.
DTE_RUN_MAX_ROWSMost rows a run writes. Default 10000000.
DTE_DUCKDB_MEMORY_LIMITMemory cap per DuckDB connection (one per run or preview). Default 2GB; empty means DuckDB's own default, 80% of RAM.
DTE_DUCKDB_THREADSDuckDB threads per connection. Default: every core.
DTE_DUCKDB_TEMP_DIRWhere DuckDB spills past the memory cap. Default <tmp>/dte-duckdb.
DTE_PIPELINE_STOREpostgres (default) or file. See Pipelines in git.
DTE_PIPELINES_DIRPipeline files in file mode. Share it between the api-server and dag-processor.
DTE_PIPELINES_GIT_COMMITtrue commits each save when DTE_PIPELINES_DIR is a git checkout. Default false.

.env (Docker Compose only) ​

scripts/bootstrap.sh writes a starter .env with a fresh Fernet key, JWT secret and admin password. Don't commit it.

Built and maintained by flowexperts.ai. Apache-2.0.