Files
low-code-react-app-b/backend/.env.production.example

21 lines
526 B
Plaintext

# Backend Environment Variables (Production)
# Allowed CORS origins (comma-separated)
# Use your actual frontend domain(s)
ALLOWED_ORIGINS=https://frontend.example.com,https://www.frontend.example.com
# Server Port
PORT=5001
# Database path (use /data for persistent CapRover volume)
DATABASE_PATH=/data/codeforge.db
# Debug mode (set to 'false' in production)
DEBUG=false
# Optional: API Key for authentication
# API_KEY=your-secure-api-key-here
# Optional: Rate limiting
# RATELIMIT_STORAGE_URL=redis://localhost:6379