Skip to main content
This reference lists the environment variables used to configure Reporter, the service that generates regulatory, compliance, and accounting reports from configurable templates. Reporter ships as a single binary whose active surfaces are selected by RUN_MODE — the API manager, the report worker, or both. You set these at deploy time, through Helm values, Docker Compose, or your orchestrator’s environment. Variables marked as required cause the server to fail on startup if not set. For the configuration blocks that every Lerian product shares — TLS posture, OpenTelemetry, Access Manager authentication, multi-tenancy, service discovery, and event streaming — see the BYOC configuration reference. This page focuses on what is distinctive to Reporter.

Run mode and ports

RUN_MODE decides which surfaces the process serves. Run the API and worker as one process (all) for small deployments, or split them into separate deployables (api and worker) to scale report generation independently. See the health and readiness reference for the probe contract.

Deployment and TLS

CORS and proxies

Database (MongoDB)

Stores report metadata, templates, and run history.

Message broker (RabbitMQ)

Carries the generate-report command queue between the API and the worker.

Object storage (S3-compatible)

Where rendered reports are stored. Works with any S3-compatible endpoint.

Cache (Redis / Valkey)

PDF rendering (worker)

Report datasources

Reports can read directly from single-tenant datasources declared with a dynamic prefix. Replace {NAME} with your datasource identifier; declare one block per source.

Shared configuration backbone

The following blocks are identical across Lerian products and are documented in full in the BYOC configuration reference. They default off.
  • Access Manager authenticationPLUGIN_AUTH_ENABLED, PLUGIN_AUTH_ADDRESS. Enable in production.
  • Multi-tenancyMULTI_TENANT_*, plus RABBITMQ_MULTI_TENANT_SYNC_INTERVAL and RABBITMQ_MULTI_TENANT_DISCOVERY_TIMEOUT. Off by default.
  • Service discoverySD_* (Consul; Reporter also accepts the legacy SD_ADVERTISE_* / CONSUL_ADDR aliases). Off by default.
  • Event streamingSTREAMING_ENABLED, STREAMING_BROKERS, STREAMING_CLOUDEVENTS_SOURCE, plus RABBITMQ_REPORT_EVENTS_EXCHANGE for the events exchange. Off by default.
  • OpenTelemetryENABLE_TELEMETRY, OTEL_*, OTEL_INSECURE_EXPORTER. Telemetry is OTLP push.