-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (29 loc) · 798 Bytes
/
render.yaml
File metadata and controls
30 lines (29 loc) · 798 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
services:
- type: web
name: videocraft-backend
env: python
region: oregon
plan: free
branch: main
buildCommand: cd backend && pip install -r requirements.txt
startCommand: cd backend && python simple_main_backup.py --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: 3.11.0
- key: DEBUG
value: false
- key: MAX_UPLOAD_SIZE
value: 104857600
- key: CORS_ORIGINS
value: '["https://videocraft.vercel.app"]'
- key: PYTHONPATH
value: /opt/render/project/src/backend
disk:
name: videocraft-storage
mountPath: /opt/render/project/src/backend/uploads
sizeGB: 1
databases:
- name: videocraft-db
databaseName: videocraft
user: videocraft_user
plan: free