-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
28 lines (27 loc) · 799 Bytes
/
Copy pathrender.yaml
File metadata and controls
28 lines (27 loc) · 799 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
# Render.com deployment configuration
# https://render.com/docs/yaml-spec
services:
# FastAPI Backend
- type: web
name: slmgen-api
runtime: python
region: oregon
plan: free
rootDir: libslmgen
buildCommand: pip install --upgrade pip && pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
envVars:
- key: ALLOWED_ORIGINS
value: https://slmgen.vercel.app,http://localhost:3000
- key: UPLOAD_DIR
value: /tmp/uploads
- key: SUPABASE_URL
sync: false # Set manually in dashboard
- key: SUPABASE_ANON_KEY
sync: false
- key: SUPABASE_SERVICE_ROLE_KEY
sync: false
- key: JWT_SECRET
sync: false
healthCheckPath: /health
autoDeploy: true