# Docker Environment Configuration # Copy this file to .env and fill in your values # Database Configuration DB_HOST=postgres DB_PORT=5432 DB_DATABASE=formbuilder DB_USER=formbuilder DB_PASSWORD=your-secure-password-here # Application Configuration NODE_ENV=development PORT=5001 JWT_SECRET=your-super-secret-jwt-key-change-in-production # Database URL (for Prisma) DATABASE_URL=postgresql://formbuilder:your-secure-password-here@postgres:5432/formbuilder # Redis Configuration REDIS_URL=redis://redis:6379 # AI/LLM Configuration # Text analysis uses a Groq/OpenRouter free-tier fallback chain (ai-kit) — # see backend/.env.example for details. OPENAI_API_KEY is still required for # vision/image ingestion and audio transcription (Whisper), which stay # OpenAI-only. GROQ_API_KEY=your-groq-api-key-here OPENROUTER_API_KEY=your-openrouter-api-key-here OPENAI_API_KEY=your-openai-api-key-here # Frontend Configuration NEXT_PUBLIC_API_URL=http://localhost:5001 NEXT_PUBLIC_BRAND_PRESET=generic # Optional: Email Configuration (for production) # SMTP_HOST=smtp.gmail.com # SMTP_PORT=587 # SMTP_USER=your-email@gmail.com # SMTP_PASS=your-app-password # Optional: File Upload Configuration # UPLOAD_MAX_SIZE=10485760 # UPLOAD_ALLOWED_TYPES=image/jpeg,image/png,application/pdf # Optional: Rate Limiting # RATE_LIMIT_WINDOW_MS=900000 # RATE_LIMIT_MAX_REQUESTS=100