All configuration is environment variables. They split by what reads them: the app (the control plane) and the engine (the Spark driver job and its containers). Locally they come from infra/compose/env/ (app vars in the service, engine vars in spark-*.env); the full inventory lives in pipeline-app/src/main/resources/application*.yml.
At a glance
Two readers - app (control plane) variables and engine (Spark driver + containers) variables.
Source of truth - the full inventory is in pipeline-app/src/main/resources/application*.yml; local values live under infra/compose/env/.
Per-run overrides - a pipeline's execution.settings override the Spark submit defaults.
App (control plane)
Core
Variable
Default
Purpose
PIPELINE_DB_URL / _USER / _PASS
required
PostgreSQL
OIDC_ISSUER_URI
identity provider URL
JWT issuer
OIDC_AUDIENCE
API audience
Required aud claim
SECURITY_SUPER_ADMIN_EMAIL
empty
Bootstraps first admin
APP_STORAGE_BACKEND
shared
or object (recommended)
APP_DRIVER_LOG_ARCHIVE_ENABLED
false
Archive driver logs
DATAFLOW_LICENSE_MODE
online
or offline
DATAFLOW_LICENSE_KEY / DATAFLOW_LICENSE_FILE
empty
License key / proof
DATAFLOW_INSTALLATION_ID
empty
Machine fingerprint
Spark submission
Variable
Default
Purpose
SPARK_REST_URL
http://spark-master:6066
Submit API
SPARK_MASTER_URL
spark://spark-master:7077
Master URL
SPARK_MASTER_UI_URL
http://spark-master:8080
Master UI / log proxy
SPARK_ENGINE_JAR
internal
Driver app jar URI
SPARK_EXTENDED_ENGINE_JARS
/app/data/connector-libs
Jars for Spark
SPARK_EXTENDED_ENGINE_JARS_LOCAL_DIR
/app/connector-libs
Same jars, app-side
Submit defaults (SPARK_DRIVER_MEMORY, SPARK_EXECUTOR_*, SPARK_NETWORK_TIMEOUT, ...) also live here; a pipeline's execution.settings override them per run.
Security and UI
Variable
Default
Purpose
SECURITY_USER_PROVISIONING_MODE
INVITE_ONLY
or AUTO_PROVISION
SECURITY_DEFAULT_ROLE
DEVELOPER
Auto-provisioned role
SECURITY_CLIENT_ID_CLAIM
azp
Claim that identifies a service account
CORS_ALLOWED_ORIGIN_PATTERNS
https://*.udi.beyond.ai, http://localhost:5173
Browser origins
APP_DOWNLOAD_TOKEN_SECRET
dev value
Download-link HMAC
APP_UI_BASE_URL
http://localhost:5173
Product UI base
OPENAPI_SERVERS
empty
OpenAPI server list
Scheduler and runs
Variable
Default
Purpose
PIPELINE_SCHEDULER_TIMEZONE
UTC
Cron timezone
PIPELINE_SCHEDULER_POLL_INTERVAL_MS
30000
Scheduler tick
PIPELINE_SCHEDULER_DUE_LIMIT
50
Due per tick
PIPELINE_RUN_STATUS_CHECKER_INTERVAL_MS
30000
Run reconciliation
Mail
MAIL_HOST / MAIL_PORT / MAIL_USERNAME / MAIL_PASSWORD and APP_EMAIL_FROM control invite emails (office365 SMTP by default).
Engine (Spark driver + containers)
Driver job
Variable
Default
Purpose
PIPELINE_DB_URL / _USER / _PASS
required
Reporter writes run status
PIPELINE_RUN_REPORT_IMPL
internal default
Reporter impl class
CONNECTION_RESOLVER_IMPL
internal default
Connection resolver class
DATAFLOW_INSTALLATION_ID
empty
Driver-side license check
The driver reads these from its own pool and writes run status, stages, and offsets straight to PostgreSQL - never back through the API.
Storage (read by the engine)
Variable
Default
Purpose
PIPELINE_INPUTS_DIR
/app/data/inputs
Inputs
PIPELINE_OUTPUTS_DIR
/app/data/outputs
Outputs
PIPELINE_SAMPLES_DIR
/app/data/outputs/samples
Stage samples
PIPELINE_CHECKPOINTS_DIR
/app/data/spark-checkpoints
Stream checkpoints
PIPELINE_STATE_DIR
/app/data/pipeline-state
Stateful step state
PIPELINE_DEFINITION_DIR
/app/data/pipeline-definitions
Spec store
Spark cluster daemons
Variable
Default
Purpose
SPARK_MODE
master / worker
Daemon role
SPARK_MASTER_HOST / _PORT
spark-master / 7077
Cluster addressing
SPARK_DAEMON_MEMORY
512m
Master daemon
SPARK_WORKER_MEMORY / _CORES
4G / 4
Worker capacity
SPARK_NO_DAEMONIZE
true
Never set in single mode
Read by both
APP_STORAGE_BACKEND, the APP_OBJECT_STORAGE_* group, and the storage dirs above are read by both sides: the app to store/browse product files, the engine to read them (via s3a:// in object mode). In shared mode they are plain mounts of the same /app/data volume.