MULTI_TENANT_ENABLED | Enable per-tenant connection resolution | false | No |
MULTI_TENANT_URL | Tenant Manager API URL | — | Yes (if MULTI_TENANT_ENABLED=true) |
MULTI_TENANT_SERVICE_API_KEY | API key for the Tenant Manager settings endpoint | — | Yes (if MULTI_TENANT_ENABLED=true) |
MULTI_TENANT_ALLOW_INSECURE_HTTP | Allow a cleartext http:// Tenant Manager URL. Never enable in production — credentials travel in plaintext. | false | No |
MULTI_TENANT_REDIS_HOST | Redis host for tenant lifecycle events. In multi-tenant deployments, configure a reachable endpoint so cache invalidation, credential rotation, and connection updates reach Flowker. Omit it only when you accept no lifecycle-event delivery and a per-replica cache for compiled OpenAPI request validators. | — | No |
MULTI_TENANT_REDIS_PORT | Redis port | 6379 | No |
MULTI_TENANT_REDIS_PASSWORD | Redis password | — | No |
MULTI_TENANT_REDIS_TLS | Enable TLS for the Redis connection | false | No |
MULTI_TENANT_MAX_TENANT_POOLS | Soft limit on cached per-tenant connection pools. Unset leaves the pool count unlimited. Recommended: 100. | — | No |
MULTI_TENANT_IDLE_TIMEOUT_SEC | How long a tenant pool must stay idle before it becomes eligible for eviction (seconds). Recommended: 300. | — | No |
MULTI_TENANT_TIMEOUT | Tenant Manager request timeout (seconds). Unset leaves the HTTP client without a timeout. Recommended: 30. | — | No |
MULTI_TENANT_CACHE_TTL_SEC | Tenant settings cache TTL (seconds). A positive value applies to the local tenant cache and Tenant Manager client cache. When unset or non-positive, their defaults are 43200 seconds (12 hours) and 3600 seconds (1 hour), respectively. Recommended: 120. | 43200 local / 3600 Tenant Manager client | No |
MULTI_TENANT_CIRCUIT_BREAKER_THRESHOLD | Consecutive failures that open the circuit. One value governs both the per-provider-configuration breaker and the Tenant Manager HTTP client breaker. Unset leaves the per-provider-configuration breaker at 20 and the Tenant Manager breaker inactive, so set it explicitly in multi-tenant deployments. | 20 (per provider configuration) | No |
MULTI_TENANT_CIRCUIT_BREAKER_TIMEOUT_SEC | Circuit breaker recovery timeout (seconds) | 30 | No |