-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathrender.yaml
More file actions
24 lines (24 loc) · 688 Bytes
/
render.yaml
File metadata and controls
24 lines (24 loc) · 688 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
services:
- type: web
name: bharatshaala-api
runtime: python
rootDir: backend
buildCommand: pip install -r requirements.txt && alembic upgrade head
startCommand: PYTHONPATH=/opt/render/project/src gunicorn "backend.base:app"
envVars:
- key: FLASK_APP
value: base.py
- key: FLASK_ENV
value: production
- key: SECRET_KEY
generateValue: true
- key: JWT_SECRET_KEY
generateValue: true
- key: RAZORPAY_KEY_ID
sync: false
- key: RAZORPAY_KEY_SECRET
sync: false
disk:
name: sqlite-data
mountPath: /opt/render/project/src/backend
sizeGB: 1