feat: Add Render.com deployment support with production data
Render Configuration: - render.yaml for declarative deployment - requirements-dashboard.txt (lightweight deps for cloud) - Updated .streamlit/config.toml for production - Updated app.py to auto-detect production vs local data Production Data: - Added data/production/test-07/ with 30 real call analyses - Updated .gitignore to allow data/production/ Documentation: - Added Render.com section to DEPLOYMENT.md with step-by-step guide Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
22
render.yaml
Normal file
22
render.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# ============================================
|
||||
# Render.com Deployment Configuration
|
||||
# ============================================
|
||||
# CXInsights Streamlit Dashboard
|
||||
# ============================================
|
||||
|
||||
services:
|
||||
- type: web
|
||||
name: cxinsights-dashboard
|
||||
runtime: python
|
||||
region: frankfurt # EU region, change to oregon for US
|
||||
plan: free # or starter for production
|
||||
buildCommand: pip install -r requirements-dashboard.txt
|
||||
startCommand: streamlit run dashboard/app.py --server.port $PORT --server.address 0.0.0.0 --server.headless true
|
||||
envVars:
|
||||
- key: PYTHON_VERSION
|
||||
value: "3.11.0"
|
||||
- key: STREAMLIT_SERVER_HEADLESS
|
||||
value: "true"
|
||||
- key: STREAMLIT_BROWSER_GATHER_USAGE_STATS
|
||||
value: "false"
|
||||
# healthCheckPath: /_stcore/health # Streamlit health endpoint
|
||||
Reference in New Issue
Block a user