Configuration

Last generated 2026-07-13 · window 2026-07-12T18:02:00Z–2026-07-13T18:01:03Z

Environment template: apps/web/.env.example. Lando injects defaults via .lando.yml.

Application #

VariableControls
APP_ENV, APP_KEY, APP_URLCore Laravel config
VITE_APP_ENVFrontend build environment
DB_*MySQL connection
KPI_DATABASE, CLICKHOUSE_*KPI storage backend (MySQL or ClickHouse)

Integrations #

VariableControls
GOOGLE_CLIENT_ID/SECRETOAuth (login, Business Profile)
OPENAI_API_KEY, CF_AI_GATEWAY_*AI assistant and widget agent
EVENTS_SERVICE_URL, DATA_SERVICE_URLGo microservice URLs
MTAS_API_TOKENMTAS integration token
REV_MGMT_ENGINE_URL, REV_MGMT_RAPIDSTOR_*, REV_MGMT_WEBHOOK_SECRETRevenue management engine + RapidStor
AGENT_RUNTIME_URL, AGENT_RUNTIME_PUBLIC_URL, AGENT_RUNTIME_SECRET, AGENT_RUNTIME_PRODUCT_IDManaged-agents runtime service (config/services.phpagent_runtime)
R2_*Cloudflare R2 object storage
VITE_RAPIDSTOR_FRONTEND_URLRapidStor v2 frontend base for Tenant Journey editor preview iframe (default: Cloudflare Pages prod URL)
RAPIDSTOR_FRONTEND_TRANSLATIONS_URLPublic JSON endpoint for scheduled translations:sync (RapidStor v2 /api/translations Page Function)
CONFLUENCE_API_KEY, CONFLUENCE_HELPDESK_FOLDER_IDConfluence helpdesk integration (config/services.phpconfluence)

Realtime #

VariableControls
BROADCAST_CONNECTION=reverbBroadcast driver
REVERB_*, VITE_REVERB_*Reverb server and client config
WIDGET_MCP_URLWidget MCP endpoint

Rev-mgmt engine #

Config: apps/rev-mgmt-engine/.env.example. Production boot-guard (EnforceProductionSafety) refuses server start unless SiteLink wrapper is live, JWT_SECRET is set, and REV_MGMT_DEMO_NOW is unset. Opt out in dev/CI with REV_MGMT_ALLOW_UNSAFE=1 (set in Lando and .env.example).

VariableControls
REV_MGMT_ECRI_ENABLEDExisting-customer rate-increase (ECRI) layer; default off (not production-ready)
REV_MGMT_DEMO_NOWFrozen demo clock (unset = real wall-clock in production)
REV_MGMT_ALLOW_UNSAFESkip production safety checks (dev/CI only)
REV_MGMT_WRAPPER_MODESiteLink wrapper mode; must be live in production
JWT_SECRETAuthenticates forwarded RapidStor token for rate pushes

Feature flags (Pennant) #

Store: PENNANT_STORE (default database). Defined in FeatureServiceProvider — one flag per Applications case plus global FeatureFlag enum values. Scoped per corporation; states: HIDDEN, INTERNAL, DISABLED, ENABLED, COMING_SOON.

Global-only flags in FeatureFlag enum include rapidstor_internal_settings (ON → native RapidStor Settings screen for all; INTERNAL → admins only; OFF → legacy external link).