# Backend Configuration # ===================== # BACKEND_URL: Used by Next.js server-side rewrites (SSR, API proxying) # - Should point to your backend API service # - In Docker Compose: http://api:8000 (internal network) # - In CapRover/custom: http://srv-captain--dograh-api:8000 or https://api.yourdomain.com:8000 BACKEND_URL=http://localhost:8000 # NEXT_PUBLIC_BACKEND_URL: Used by client-side JavaScript (browser API calls) # - Available in browser console and React components # - For local dev: http://localhost:8000 or http://localhost:3010 (if proxied) # - For production: Use external URL that browsers can reach NEXT_PUBLIC_BACKEND_URL=http://localhost:8000 # Node Environment # ================ # development | production | oss (default for self-hosted) NEXT_PUBLIC_NODE_ENV=development