-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
20 lines (20 loc) · 610 Bytes
/
render.yaml
File metadata and controls
20 lines (20 loc) · 610 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
services:
- type: web
name: fastapi-rag-gateway
env: python
plan: free # Explicitly use free tier (512MB RAM)
buildCommand: pip install --no-cache-dir -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT --workers 1
envVars:
- key: OPENAI_API_KEY
sync: false
- key: OPENROUTER_API_KEY
sync: false
- key: RAG_LLM_MODEL
value: deepseek/deepseek-chat
- key: RAG_LLM_BASE_URL
value: https://openrouter.ai/api/v1
- key: UVICORN_PORT
value: 8000
- key: PYTHONUNBUFFERED
value: 1