Skip to main content
This reference lists the environment variables that configure Flowker. The Default column lists only the values Flowker applies in code when a variable is not set. A dash means Flowker applies no fallback: set the variable explicitly, using the recommended value in the description. The Required column marks the variables that stop the server from starting when they are missing. Flowker ships two binaries. The API binary serves the HTTP API. The worker binary runs the scheduler that fires schedule-triggered workflows and serves only /health and /readyz. Variables that apply to one binary say so.

Server

Deployment

Authentication

Database (MongoDB)

Scheduler

The scheduler fires schedule-triggered workflows. It runs in the worker binary and connects through its own Redis settings, separate from the multi-tenant Redis settings. Nothing enforces the separation at startup: point the scheduler at its own Redis instance, or at least at a logical database index that tenant lifecycle events do not use.

Lerian service URLs

Internal providers resolve their base URL from the environment, by the {PROVIDER}_BASE_URL convention, instead of from the stored provider configuration. Leave a variable empty to fall back to the value in the stored configuration document.

Schema registry and XSD validation

Secrets

Tenant Manager token mint

Flowker mints a platform-scoped bearer token to call the Tenant Manager write endpoints. Token minting requires WORKOS_TM_TOKEN_URL, WORKOS_TM_CLIENT_ID, and WORKOS_TM_CLIENT_SECRET together. WORKOS_TM_SCOPE is optional, but a non-blank value requires those three credential variables. WORKOS_TM_SERVICE_NAME only overrides the service name. Leave the token URL, client ID, client secret, and scope unset to disable minting. A partial configuration stops the server from starting. The Tenant Manager base URL comes from MULTI_TENANT_URL.

Multi-tenant

When MULTI_TENANT_ENABLED=true, database connections are resolved per tenant through Tenant Manager. When false (default), Flowker runs in single-tenant mode with static connections.

Token cache

Bounds for the shared OAuth 2.0 token cache used by provider authentication (OIDC and OAuth2 token-endpoint flows).

Observability

Security

Swagger