-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
26 lines (24 loc) · 818 Bytes
/
Copy pathrender.yaml
File metadata and controls
26 lines (24 loc) · 818 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
services:
# --- SERVICIO DEL BACKEND (FastAPI) ---
- type: web
name: easy-finance-backend
env: python
buildCommand: "uv sync --frozen && uv run python ai_engine/rag/ingest.py"
startCommand: "uv run uvicorn backend.main:app --host 0.0.0.0 --port $PORT"
envVars:
- key: GOOGLE_API_KEY
sync: false # Lo pondrás manualmente en el dashboard de Render
- key: PYTHONPATH
value: "."
# --- SERVICIO DEL FRONTEND (Streamlit) ---
- type: web
name: easy-finance-frontend
env: python
buildCommand: "uv sync --frozen"
startCommand: "uv run streamlit run frontend/app.py --server.port $PORT --server.address 0.0.0.0"
envVars:
- key: BACKEND_URL
fromService:
type: web
name: easy-finance-backend
property: host