-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathrender.yaml
More file actions
54 lines (54 loc) · 1.51 KB
/
Copy pathrender.yaml
File metadata and controls
54 lines (54 loc) · 1.51 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
services:
# VishwaGuru Backend Service
- type: web
name: vishwaguru-backend
runtime: python
buildCommand: "pip install -r backend/requirements.txt"
startCommand: "python start-backend.py"
envVars:
- key: PYTHON_VERSION
value: 3.12.0
- key: PORT
fromService:
type: web
name: vishwaguru-backend
property: port
- key: PYTHONPATH
value: backend
# Required API Keys (must be set in Render dashboard)
- key: GEMINI_API_KEY
sync: false
- key: HF_TOKEN
sync: false
- key: TELEGRAM_BOT_TOKEN
sync: false
# Frontend URL (must be set to your Netlify deployment URL)
- key: FRONTEND_URL
sync: false
# Database URL (use Neon, Supabase, or similar)
- key: DATABASE_URL
sync: false
# Application settings
- key: ENVIRONMENT
value: production
- key: DEBUG
value: false
# CORS settings
- key: CORS_ORIGINS
sync: false # Set to your frontend URL
# File upload settings
- key: MAX_UPLOAD_SIZE_MB
value: 10
- key: ALLOWED_FILE_TYPES
value: image/jpeg,image/png,image/jpg,video/mp4
# Rate limiting
- key: RATE_LIMIT_ENABLED
value: true
- key: MAX_REQUESTS_PER_MINUTE
value: 60
healthCheckPath: /health
# Add disk for SQLite database (if using SQLite)
disk:
name: vishwaguru-data
mountPath: /opt/render/project/src/data
sizeGB: 1