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
| Variable | Description | Default |
|---|---|---|
FLOW_ADDR | Server listen address | localhost:8080 |
FLOW_DB_HOST | PostgreSQL host (also _PORT, _NAME, ...) | localhost |
FLOW_MAX_DB_CONNS | PostgreSQL connection pool size | 20 |
FLOW_BLOB_URL | Blob storage URL (file:// or s3://) | file://./blobs |
FLOW_MAX_UPLOAD_SIZE | Max flow tarball upload size | 128 MB |
FLOW_MAX_INPUT_WAIT | How long a parked execution waits for input | 24h |
FLOW_LOG_LEVEL | Log level (debug, info, warn, error) | info |
FLOW_LOG_PRETTY | Pretty-print JSON logs | false |
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.