Configuration

A consolidated reference for the key settings of each stack. Every stack reads its values from docker/<stack>/.env, copied from the committed .env.example. The tables below list the most important options; the .env.example files are the full reference.

ClickHouse #

Reference: docker/clickhouse/.env.example.

VariablePurposeDefault
CLICKHOUSE_HTTP_PORTHTTP port the ingest receiver connects to8123
CLICKHOUSE_NATIVE_PORTNative protocol port for clients and BI tools9000
CLICKHOUSE_DBDatabase created on first startrum
CLICKHOUSE_USERUser created on first startambilobe
CLICKHOUSE_PASSWORDPassword (required, compose aborts if unset)none

PostgreSQL #

Reference: docker/pg/.env.example.

VariablePurposeDefault
POSTGRES_PORTPort the app stacks connect to5432
POSTGRES_DBDatabase created on first startrum_config
POSTGRES_USERRole created on first startambilobe
POSTGRES_PASSWORDPassword (required, compose aborts if unset)none

Ingest receiver #

Reference: docker/ingest/.env.example.

VariablePurposeDefault
INGEST_CONFIGDB_CONNECTIONSTRINGrum_config Postgres connection (required)none
INGEST_CLICKHOUSE_CONNECTIONSTRINGClickHouse rum.events connection (required)none
INGEST_CONFIGDB_AUTOMIGRATEApply pending rum_config migrations on startuptrue
INGEST_GEOIP_DBPATHGeoIP database path; empty disables GeoIPempty
INGEST_RATECAP_EXPECTSINGLEINSTANCEAcknowledge a single-instance deploymentfalse
INGEST_COLLECTOR_SERVE_ASSETSServe the collector bundle from /v1/rum/*true

Admin console #

Reference: docker/admin/.env.example.

VariablePurposeDefault
ADMIN_CONFIGDB_CONNECTIONSTRINGrum_config Postgres connection (required)none
ADMIN_AUTH_AUTHORITYOIDC issuer URL (required)none
ADMIN_AUTH_AUDIENCEAPI resource name in the token aud claim (required)none
ADMIN_CONFIGDB_AUTOMIGRATEApply pending rum_config migrations on startuptrue
ADMIN_UI_OIDC_CLIENT_IDSPA OIDC client id (baked into the bundle)ambilobe-front
ADMIN_CLICKHOUSE_CONNECTIONSTRINGClickHouse rum connection for dashboardsempty

Edge proxy #

Reference: docker/front/.env.example.

VariablePurposeDefault
FRONT_HTTPS_PORTHost HTTPS port (mapped to container 4433)443
FRONT_CERT_VAULT_URIAzure Key Vault URI for the TLS certificateper .env.example
FRONT_CERT_SECRET_NAMEKey Vault secret holding the PKCS#12 certificateper .env.example
FRONT_ADMIN_HOST / FRONT_ADMIN_DESTINATIONAdmin hostname and internal upstreamper .env.example
FRONT_INGEST_HOST / FRONT_INGEST_DESTINATIONIngest hostname and internal upstreamper .env.example
AZURE_TENANT_ID / AZURE_CLIENT_ID / AZURE_CLIENT_SECRETService principal for Key Vault (empty uses managed identity)empty

Rate caps are per pod #

The ingest receiver enforces rate caps (sessions, events, replay bytes) in-process. Running more than one ingest replica divides each policy's cap by the replica count, because the counters are not shared across pods. A Redis-backed implementation is the documented swap for distributed caps.

For a single-instance deployment, set INGEST_RATECAP_EXPECTSINGLEINSTANCE=true to acknowledge the trade-off and silence the startup warning.