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>
23 lines
836 B
YAML
23 lines
836 B
YAML
# ============================================
|
|
# 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
|