-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloud.env.example
More file actions
43 lines (34 loc) · 1.24 KB
/
Copy pathcloud.env.example
File metadata and controls
43 lines (34 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# PostPrism Cloud Deployment Environment
# This file is optimized for free cloud deployment (Lovable + Render.com)
# ===== FRONTEND CONFIGURATION (Lovable) =====
# Demo mode - enables complete frontend-only demo experience
VITE_DEMO_MODE=true
# API configuration for cloud backend
VITE_API_URL=https://postprism-backend.onrender.com
VITE_WS_URL=wss://postprism-backend.onrender.com
# ===== BACKEND CONFIGURATION (Render.com) =====
# Flask production settings
FLASK_ENV=production
FLASK_HOST=0.0.0.0
FLASK_DEBUG=false
# Enable demo mode backend (returns mock data, no API keys required)
DEMO_MODE_BACKEND=true
# CORS settings for cloud frontend
CORS_ORIGINS=https://postprism.lovable.app,https://*.lovable.app,http://localhost:8080
# Logging configuration
LOG_LEVEL=INFO
LOG_FILE=postprism_cloud.log
# ===== OPTIONAL: REAL API INTEGRATION =====
# Users can optionally provide these for real functionality
# OPENAI_API_KEY=sk-... (user provided)
# ORGO_API_KEY=... (user provided)
# AGENTS2_5_MODEL=gpt-4o-mini (default)
# ===== PERFORMANCE OPTIMIZATIONS =====
# Cloud-specific optimizations
ENABLE_CACHING=true
ENABLE_COMPRESSION=true
ENABLE_RATE_LIMITING=true
# Demo performance settings
DEMO_SIMULATION_SPEED=1.0
DEMO_PARALLEL_AGENTS=3
DEMO_REALISTIC_DELAYS=true