Skip to main content
TED Lerian reads these variables when the service starts. A change takes effect after you restart the service. Runtime settings, such as the address of Lerian SPB and the fee estimate package, are not environment variables. In the tables, Required marks a variable that you must set, always or under the condition named. — means no default.
With ENVIRONMENT_NAME=production, the service does not start unless all of these are true: POSTGRES_PASSWORD is set, POSTGRES_SSLMODE is not disable, PLUGIN_AUTH_ENABLED is true, TRUSTED_PROXIES is set, REDIS_TLS is true, AUDIT_MONGO_URI asks for TLS, and neither ALLOW_CORS_WILDCARD nor ALLOW_RATELIMIT_FAIL_OPEN is true.

Runtime and server

Authentication and license

PostgreSQL

Valkey

Valkey keeps the idempotency records, the rate-limit counters and the usage-limit counters.

Audit trail

Midaz

TED Lerian holds, settles and credits the money in the Midaz ledger, and finds accounts and holders in the CRM.

Lerian SPB

The address of Lerian SPB is a runtime setting of each institution. RAIL_ALLOWED_HOSTS limits the hosts that TED Lerian accepts there.

Policy and operations

Idempotency and rate limits

Events

TED Lerian writes each event in its outbox, in the same transaction as the status change. The outbox relay then publishes it. The broker connection comes from the shared STREAMING_* settings in Streaming and outbox.

Telemetry