You deploy the ledger service. It serves the onboarding and transaction routes, and CRM and Fees run in the same process. The ledger reads the CRM and Fees variables below. Tracer ships as its own optional service. The Helm chart also carries a legacy standalone
crm deployment, disabled by default.Ports and health endpoints
The ledger runs one HTTP process. See the health and readiness reference for the probe contract.
The ledger uses OTLP push for telemetry and does not expose a
/metrics scrape endpoint.
Deployment and TLS
Application
Database (PostgreSQL)
The ledger keeps two logical databases (onboarding and transaction), each with a primary and a replica connection block. The variables share one shape. Replace {MODULE} with ONBOARDING or TRANSACTION. Replica variables carry a _REPLICA_ infix (for example DB_ONBOARDING_REPLICA_HOST).
Document store (MongoDB)
The MongoDB variables use one namespace per module:MONGO_ONBOARDING_*, MONGO_TRANSACTION_*, and, on the consolidated binary, MONGO_CRM_* and MONGO_FEES_*. All share one shape. Replace {NS} with the namespace. They may point at one MongoDB deployment (separate logical databases) or dedicated hosts.
Cache (Redis / Valkey)
Message broker (RabbitMQ)
The internal asynchronous balance-operation pipeline uses RabbitMQ whenRABBITMQ_TRANSACTION_ASYNC=true. RabbitMQ also carries selected legacy outbound exchanges.
Throughput
Tracer integration
The optional seam lets the ledger check a transaction with Tracer before it commits the transaction. LeaveTRACER_BASE_URL unset to disable it.
CRM and Fees
The ledger process reads these variables, because CRM and Fees are compiled into the ledger binary. They protect account-holder PII and configure the field-encryption backend.Shared configuration backbone
The following blocks are identical across Lerian products. The BYOC configuration reference documents them in full. They default off. A BYOC deployment can ignore all the optional ones.- Access Manager authentication:
PLUGIN_AUTH_ENABLED,PLUGIN_AUTH_HOST. Enable in production. - Service discovery:
SD_*(Consul). Off by default. - Event streaming:
STREAMING_*. Off by default on the ledger. - OpenTelemetry:
ENABLE_TELEMETRY,OTEL_*. Telemetry is OTLP push.

