Repository navigation
Expand file tree
/
Copy pathrender.yaml
More file actions
55 lines (53 loc) · 1.76 KB
/
Copy pathrender.yaml
File metadata and controls
55 lines (53 loc) · 1.76 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
55
# Render Blueprint for Betva (FastAPI + static frontend + Postgres)
# Docs: https://render.com/docs/blueprint-spec
#
# Deploy: Render Dashboard -> New -> Blueprint -> pick this repo -> apply.
# Values marked `sync: false` are secrets you enter in the dashboard.
services:
- type: web
name: betva
runtime: python
plan: free
region: frankfurt
buildCommand: pip install --upgrade pip && pip install -r requirements.txt
startCommand: uvicorn app.main:app --app-dir backend --host 0.0.0.0 --port $PORT
healthCheckPath: /health
# Force redeploy: SRS implementation v2
autoDeploy: true
envVars:
- key: PYTHON_VERSION
value: 3.14.8
- key: DATABASE_URL
fromDatabase:
name: betva-db
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: ADMIN_EMAIL
sync: false
- key: ADMIN_PASSWORD
sync: false
- key: ADMIN_NICKNAME
value: Admin
- key: FOOTBALL_API_KEY
sync: false
- key: FOOTBALL_API_HOST
value: v3.football.api-sports.io
# Groq powers the AI result extraction (reads pages the app downloads).
- key: GROQ_API_KEY
sync: false
- key: GROQ_MODEL
value: openai/gpt-oss-120b
# Optional: HTTP/HTTPS proxy used to fetch FootyStats when Cloudflare
# blocks the Render datacenter IP. Format: http://user:pass@host:port
- key: PROXY_URL
sync: false
# Same-origin requests (https://<service>.onrender.com) are accepted
# automatically. Only set ALLOWED_ORIGINS in the dashboard if you add a
# custom domain, e.g. "https://betva.example.com".
databases:
- name: betva-db
databaseName: betva
user: betva
plan: free
region: frankfurt