-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrender.yaml
More file actions
25 lines (24 loc) · 732 Bytes
/
render.yaml
File metadata and controls
25 lines (24 loc) · 732 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:
- type: web
name: ai-study-planner-backend
env: python
buildCommand: pip install -r backend/requirements.txt
startCommand: cd backend && gunicorn app:app
envVars:
- key: FLASK_ENV
value: production
- key: SECRET_KEY
generateValue: true
- key: CORS_ORIGINS
value: https://ai-study-planner.onrender.com
disk:
name: study_planner_db
mountPath: /opt/render/project/backend
sizeGB: 1
- type: static
name: ai-study-planner-frontend
buildCommand: cd frontend && npm install && npm run build
staticPublishPath: frontend/dist
envVars:
- key: VITE_API_URL
value: https://ai-study-planner-backend.onrender.com/api