-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
34 lines (34 loc) · 937 Bytes
/
Copy pathrender.yaml
File metadata and controls
34 lines (34 loc) · 937 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
31
32
33
34
services:
- type: web
name: lc-connect-api
env: python
region: oregon
plan: free
branch: main
rootDir: lc_connect_backend
buildCommand: |
pip install --upgrade pip
pip install -r requirements.txt
startCommand: alembic upgrade head && PYTHONPATH=. python scripts/init_db.py && uvicorn app.main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
envVars:
- key: PYTHON_VERSION
value: "3.12.0"
- key: PIP_ROOT_USER_ACTION
value: ignore
- key: ENVIRONMENT
value: production
- key: DATABASE_URL
sync: false
- key: JWT_SECRET_KEY
sync: false
- key: CORS_ORIGINS
sync: false
- key: SUPABASE_URL
sync: false
- key: SUPABASE_SERVICE_ROLE_KEY
sync: false
- key: SUPABASE_PROFILE_BUCKET
value: profile-images
- key: MAX_PROFILE_IMAGE_MB
value: "5"