Skip to main content
Pix Indirect via BTG reaches the Pix arrangement through BTG as the direct participant. It ships as several components: an API, plus reconciliation, schedule, and inbound and outbound webhook workers. DevOps sets the environment variables for each component at deploy time. To change a variable, you restart that component. This page covers the variables distinctive to this rail. For the multi-tenancy, streaming, telemetry, and authentication knobs shared across every Lerian Go service, see BYOC configuration essentials.
In the tables below, the Default / Required column shows the default value. A bold qualifier (for example Required) marks variables you must set. means no default. 🔒 marks a secret. Inject each secret at deploy time from your secret store. Never commit a secret. This page lists variable names and behavior only. It prints no secret values.
This rail does not mount the systemplane admin API. Its datastore variables use a DB_* prefix rather than the shared POSTGRES_* shape — see Datastores below.

Components and ports

The API component listens on SERVER_PORT (default 4014). SERVER_ADDRESS derives from it. The reconciliation, schedule, and webhook workers each bind a WORKER_PORT for their health probes. Each worker carries its own tuning knobs — batch sizes, polling intervals, concurrency, and circuit breakers — in its .env.example file. See Default network ports.

BTG integration and mTLS

These variables hold the credentials and mutual-TLS settings for the BTG connection.

Datastores

This rail uses a DB_* prefix for datastores, not the shared POSTGRES_* shape. It connects to a primary PostgreSQL, a separate read replica, MongoDB, and Redis.

Midaz, CRM, and Fees

Internal webhooks and scheduling

The API and workers exchange events over an internal webhook channel. They also run recurring and scheduled Pix flows.

Pix and ledger scope

Health and readiness

Each component exposes GET /health (liveness) and GET /readyz (readiness) on its port. See Health and readiness for the response shape and the startup and drain behavior.