Skip to main content
Version: 0.9.12

Environment variable index

platform v0.9.11verified 2026-05-14

A consolidated catalogue of environment variables consumed by Delphi services. Each row carries a source badge (where the value comes from) and an optional scope badge.

Source legend
  • env — set in .env files or compose; the canonical local override.
  • SSM — AWS SSM Parameter Store; expanded into env at boot.
  • Secrets Manager — AWS Secrets Manager; expanded into env or files at boot.
  • Code default — value baked in code if nothing overrides it.
  • TelWeb · Team / TelWeb · Admin / TelWeb · Platform — DB-backed setting changed via TelWeb UI.
  • DB rowPlatformSetting or domain table (not exposed in TelWeb UI).
  • Redis (runtime) — ephemeral runtime cache.

Voice and SIP

NameSourceScopeDefaultDescription
JANUS_WS_PORTenvall8188 (local) / 443 (prod)Janus WebSocket port; required for WebRTC bridging.
TELPHI_MEDIA_HOSTenvallhost.docker.internal / TelPhi private IPTelSys → TelPhi media plane host.
TELPHI_MEDIA_PORTenvall12001TelSys → TelPhi media plane port.
TELPHI_MEDIA_SCHEMEenvallwsScheme for TelPhi media WebSocket.
TELPHI_MEDIA_PATHenvall/mediaPath for TelPhi media WebSocket.
RTPENGINE_HOSTenvall10.30.0.10 (local)RTPEngine control endpoint.
RTPENGINE_NG_PORTenvall22222RTPEngine ng control port.
KAMAILIO_SIP_DOMAINSSMprodPublic SIP domain Kamailio serves.
COTURN_SHARED_SECRETSecrets ManagerprodShared secret for TURN credentials.

Database and Redis

NameSourceScopeDefaultDescription
DATABASE_URLSecrets ManagerallPostgres connection string. Keep `ssl*` query params out of the URL; TLS policy comes from `DATABASE_SSL_MODE` and the CA file (see [Internal encryption](/platform/security/internal-encryption)).
DATABASE_SSL_MODESSMalldisable (local)Client SSL policy: `disable` | `require` | `verify-ca` | `verify-full`.
DATABASE_SSL_CA_BUNDLE_B64Secrets ManagerprodBase64 PEM CA bundle for Postgres TLS verification; decoded to `./tls/database-ca.crt` and mounted at `/etc/ssl/database/ca.crt`. Use the CA that signs PgBouncer’s cert (or the RDS/Aurora global CA when connecting straight to AWS).
DATABASE_SSL_CA_FILEenvall/etc/ssl/database/ca.crtIn-container path to the decoded Postgres CA bundle.
REDIS_URLSecrets ManagerallRedis connection string; rediss:// when TLS is enabled.
REDIS_TLS_CA_BUNDLE_B64Secrets ManagerprodBase64 PEM CA bundle for Redis TLS; decoded to `./tls/redis-ca.crt` and mounted at `/etc/ssl/redis/ca.crt`. Often empty when relying on the system trust store (e.g. ElastiCache).
REDIS_TLS_CA_FILEenvall/etc/ssl/redis/ca.crtIn-container path to the decoded Redis CA bundle.

AWS and infrastructure

NameSourceScopeDefaultDescription
AWS_REGIONenvalleu-central-1AWS region for SSM / Secrets Manager / S3 calls.
HTTP_PROXYenvprodForward proxy for outbound HTTP. v0.9.11 hardens AWS / LLM paths to honour it.
HTTPS_PROXYenvprodForward proxy for outbound HTTPS.
NO_PROXYenvprodHosts to bypass the proxy.
SSM_PARAM_PREFIXenvall/delphi/<env>/Prefix under which Delphi SSM params live.
S3_CONFIG_BUCKETenvprodS3 bucket where the deployment config bundles live; consumed by fetch-config on every host.

Observability

NameSourceScopeDefaultDescription
OTEL_EXPORTER_OTLP_ENDPOINTenvall10.0.1.10:4317 (prod)OTLP collector endpoint.
OTEL_SERVICE_NAMEenvallService identifier in spans / logs.
SIGNOZ_URLenvallhttps://signoz.<env>.delphi/URL TelWeb queries for the Debug tab.
SIGNOZ_API_TOKENSecrets ManagerprodAPI token for SigNoz Logs / Traces queries.

Feature flags

NameSourceScopeDefaultDescription
FEATURE_AI_FLOW_BUILDERenvalltrueAI Flow Builder UI + runtime.
FEATURE_QA_SCORINGenvalltrueQA scoring jobs and tab.
FEATURE_AUDIO_PREPROCESSINGenvalltrueAudioProc container in the voice stack.
FEATURE_TTS_MEDIA_CACHEenvalltrueTTS cache lookups and writes.
FEATURE_REGISTRATIONenvallfalsePublic registration flow.
FEATURE_SUBSCRIPTIONSenvallfalseSubscription / billing guards.
FEATURE_SMSenvallfalseSMS dispatch (Vonage).
FEATURE_WEBRTCenvalltrueJanus + TURN WebRTC stack.
FEATURE_API_ACCESSenvalltrueExternal API key access.
FEATURE_ADDITIONAL_PROVIDERSenvalltrueNon-default AI providers (Azure, Pythia, TOBi).
FEATURE_SUBSCRIPTION_MANAGEMENTenvallfalseSelf-service subscription UI.

Billing

NameSourceScopeDefaultDescription
STRIPE_SECRET_KEYSecrets ManagerprodStripe API key for checkout / subscriptions.
STRIPE_WEBHOOK_SECRETSecrets ManagerprodVerifies inbound Stripe webhook signatures.
BILLING_DEFAULT_PLANTelWeb · PlatformallDefault plan assigned on registration; mutable in TelWeb.

See also