# ============================================================================= # Customer Portal Frontend - Development Environment # ============================================================================= # Copy this file to .env.local in apps/portal/: # cp .env.example .env.local # # Note: NEXT_PUBLIC_* variables are exposed to the browser. # In development, Next.js rewrites /api/* to the BFF, so you typically # don't need to set NEXT_PUBLIC_API_BASE. # ============================================================================= # ----------------------------------------------------------------------------- # Application Identity # ----------------------------------------------------------------------------- NEXT_PUBLIC_APP_NAME=Customer Portal (Dev) NEXT_PUBLIC_APP_VERSION=1.0.0-dev # ----------------------------------------------------------------------------- # API Configuration # ----------------------------------------------------------------------------- # In development: Leave empty or unset - Next.js rewrites /api/* to BFF # In production: Set to /api (nginx proxies to BFF) or full BFF URL # NEXT_PUBLIC_API_BASE= # BFF URL for Next.js rewrites (server-side only, not exposed to browser) BFF_URL=http://localhost:4000 # ----------------------------------------------------------------------------- # Development Tools # ----------------------------------------------------------------------------- NEXT_PUBLIC_ENABLE_DEVTOOLS=true # ----------------------------------------------------------------------------- # Salesforce Embedded Service (Optional - for Agentforce widget) # ----------------------------------------------------------------------------- # NEXT_PUBLIC_SF_EMBEDDED_SERVICE_URL= # NEXT_PUBLIC_SF_ORG_ID= # NEXT_PUBLIC_SF_EMBEDDED_SERVICE_DEPLOYMENT_ID= # NEXT_PUBLIC_SF_EMBEDDED_SERVICE_SITE_URL= # NEXT_PUBLIC_SF_EMBEDDED_SERVICE_SCRT2_URL=