.env.production.example 595 B

1234567891011121314151617181920212223
  1. # Production Environment Variables
  2. # Copy this file to .env.production and fill in your actual values
  3. # Server Configuration
  4. NODE_ENV=production
  5. PORT=3001
  6. # Session Configuration - CHANGE THIS SECRET IN PRODUCTION!
  7. SESSION_SECRET=generate_a_secure_random_string_here
  8. # CORS Configuration - Update with your actual domain
  9. FRONTEND_URL=https://your-domain.com
  10. # Database/Storage paths (relative to backend directory)
  11. POSTS_DIR=../public/posts
  12. THEMES_FILE=./themes.json
  13. # AI Configuration
  14. GEMINI_API_KEY=your_gemini_api_key_here
  15. # Security Settings
  16. COOKIE_SECURE=true
  17. COOKIE_SAME_SITE=strict