# =============================================== # HydroLeaf System - Environment Configuration # =============================================== # Copy this file to .env and fill in your values # Database Configuration DB_HOST=localhost DB_NAME=hydroleaf DB_USER=postgres DB_PASSWORD=your_password_here DB_PORT=5432 DATABASE_URL=postgresql://postgres:your_password_here@localhost:5432/hydroleaf # Server Configuration NODE_ENV=production PORT=5000 # Session Secret (generate a random string) SESSION_SECRET=your_session_secret_here # Security CORS_ORIGIN=* # SSL Configuration (for production databases) DB_SSL=true # Optional: Logging LOG_LEVEL=info LOG_FILE=logs/app.log # Optional: Rate Limiting RATE_LIMIT_WINDOW_MS=900000 RATE_LIMIT_MAX_REQUESTS=100