mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
21 lines
526 B
Plaintext
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
|