Flow

Configuration

Environment variables for tuning the Flow-Hub server and worker.

All environment variables use the FLOW_ prefix (except AWS credentials). See .env.example for the canonical list.

Server

VariableDescriptionDefault
FLOW_ADDRServer listen addresslocalhost:8080
FLOW_DB_HOSTPostgreSQL host (also _PORT, _NAME, ...)localhost
FLOW_MAX_DB_CONNSPostgreSQL connection pool size20
FLOW_BLOB_URLBlob storage URL (file:// or s3://)file://./blobs
FLOW_MAX_UPLOAD_SIZEMax flow tarball upload size128 MB
FLOW_MAX_INPUT_WAITHow long a parked execution waits for input24h
FLOW_LOG_LEVELLog level (debug, info, warn, error)info
FLOW_LOG_PRETTYPretty-print JSON logsfalse

A minimal .env for local development:

FLOW_ADDR=localhost:8080
FLOW_DB_HOST=localhost
FLOW_LOG_LEVEL=debug
FLOW_LOG_PRETTY=true

Flow runs

The worker reads FLOW_CONCURRENCY, FLOW_MAX_RUN_TIME and FLOW_EGRESS_ALLOWLIST. See Flow execution for what they limit.