Skip to main content

Configure environment variables

Use .env.example for fake development, .env.live.example for loopback live development, and .env.server.example as the server template. Old adapter values and deployment variable names have no aliases.

Runtime and data services

Auth0

NEOBANK_AUTH0_DOMAIN accepts a hostname only. Claim and problem namespaces reject credentials, query strings, fragments, trailing slashes, and Auth0-owned claim domains. Non-local live runtimes require every identity field explicitly. Production also rejects reserved examples and placeholders. GET /v1/public-config exposes only the application name, optional Arabic name, and mark. It never exposes Auth0 or Management API configuration.

Auth0 reconciliation

The ignored .env.auth0 file contains the runtime identity variables plus these fields: Copy .env.auth0.example, set mode 0600, and follow Configure a dedicated Auth0 tenant. The repository ignores every non-example .env.* file. The reconciler requests short-lived Management API tokens; do not store a manually generated access token in this file.

Perflo

fake is the only other adapter value. Values such as demo, pilot, and partner fail validation.

Vault

Server Compose

Production also requires HTTPS application origins, disabled debug authentication, configured Auth0 applications, PostgreSQL, isolated session and task Redis authorities, authenticated metrics, and the exact reviewed Perflo origins. API workloads receive only NEOBANK_REDIS_URL; worker and scheduler workloads receive only NEOBANK_TASK_QUEUE_URL.