-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrender.yaml
More file actions
35 lines (33 loc) · 1007 Bytes
/
Copy pathrender.yaml
File metadata and controls
35 lines (33 loc) · 1007 Bytes
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
# Render deployment configuration for StockSense Agent
services:
# Backend API Service
- type: web
name: stocksense-backend
runtime: python
plan: free
envVars:
- key: GOOGLE_API_KEY
sync: false
- key: NEWSAPI_KEY
sync: false
- key: SUPABASE_URL
sync: false
- key: SUPABASE_ANON_KEY
sync: false
- key: SUPABASE_SERVICE_KEY
sync: false
- key: STOCKSENSE_DB_PATH
value: /var/data/stocksense.db
- key: LOG_LEVEL
value: info
- key: PORT
value: 8000
disk:
name: analysis-cache
mountPath: /var/data
sizeGB: 1
buildCommand: pip install --no-cache-dir -r requirements-backend.txt
startCommand: uvicorn stocksense.main:app --host 0.0.0.0 --port $PORT
# NOTE: React frontend should be deployed to Vercel, Netlify, or similar static hosting.
# Build with: cd frontend && npm run build
# Set VITE_API_URL environment variable to point to this backend URL.