-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
25 lines (25 loc) · 995 Bytes
/
Copy pathrender.yaml
File metadata and controls
25 lines (25 loc) · 995 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
services:
- type: web
name: archmind-ai
runtime: python
repo: https://github.com/KunjShah95/archmind-ai
region: oregon
plan: free
buildCommand: pip install -r backend/requirements.txt && python -c "import os,sys; url=os.environ.get('DATABASE_URL',''); sys.exit('DATABASE_URL not set or defaults to SQLite — set it in Render dashboard') if not url or url.startswith('sqlite') else None" && cd backend && python -m alembic upgrade head
startCommand: cd backend && python -u -m uvicorn app.main:app --host 0.0.0.0 --port $PORT 2>&1
healthCheckPath: /api/health
envVars:
- key: DATABASE_URL
sync: false
- key: SUPABASE_URL
sync: false
- key: SUPABASE_JWT_SECRET
sync: false
- key: CORS_ORIGINS
value: https://archmind-ai-topaz.vercel.app,http://localhost:8080
- key: DEV_MODE
value: "false"
- key: PYTHON_VERSION
value: "3.12.8"
domains:
- archmind-ai.onrender.com