-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
21 lines (21 loc) · 816 Bytes
/
render.yaml
File metadata and controls
21 lines (21 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
services:
- type: web
name: optex-backend
runtime: python
plan: free
region: oregon
buildCommand: pip install --upgrade pip && pip install -r fastapi_sim/requirements.txt
startCommand: cd fastapi_sim && uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: 3.11.9
- key: BACKEND_URL
value: https://optex-wc0v.onrender.com
# Firebase Configuration (for APC limits and optimization settings)
# Add your Firebase service account key as a Render secret file
# Path: /etc/secrets/serviceAccountKey.json
- key: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/secrets/serviceAccountKey.json
# Alternative: Firebase project ID for default auth
- key: FIREBASE_PROJECT_ID
value: optex-b13d3