-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
34 lines (33 loc) · 832 Bytes
/
render.yaml
File metadata and controls
34 lines (33 loc) · 832 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
services:
# FastAPI Backend
- type: web
name: doctorbot-api
runtime: python
region: oregon
plan: free
rootDir: doctorbot/backend
buildCommand: pip install -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: MISTRAL_API_KEY
sync: false
- key: CORS_ORIGINS
sync: false
- key: PYTHON_VERSION
value: 3.11.11
# Next.js Frontend (Static Site)
- type: web
name: doctorbot-ui
runtime: static
region: oregon
plan: free
rootDir: doctorbot/frontend
buildCommand: npm install && npm run build
staticPublishPath: out
headers:
- path: /*
name: Cache-Control
value: public, max-age=0, must-revalidate
envVars:
- key: NEXT_PUBLIC_API_URL
sync: false