Skip to content

Commit a0f9520

Browse files
committed
chore: add Render deployment config for FastAPI
1 parent f6cfecb commit a0f9520

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

apps/api/render.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
services:
2+
- type: web
3+
name: codepulse-api
4+
runtime: python
5+
buildCommand: pip install -e .
6+
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
7+
healthCheckPath: /api/health
8+
envVars:
9+
- key: PYTHON_VERSION
10+
value: "3.12.0"
11+
- key: CORS_ORIGINS
12+
value: http://localhost:3000
13+
- key: SUPABASE_URL
14+
sync: false
15+
- key: SUPABASE_KEY
16+
sync: false

0 commit comments

Comments
 (0)