-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (28 loc) · 980 Bytes
/
render.yaml
File metadata and controls
30 lines (28 loc) · 980 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
# RIFT 2026 — Full Stack Deployment (Render Blueprint)
# NOTE: Blueprint deployments require a credit card on file with Render
# For free tier deployment without card details, deploy manually:
# - Backend as Web Service
# - Frontend as Static Site
# See DEPLOYMENT.md for step-by-step instructions
services:
# Backend API Service
- type: web
name: rift2026-backend
runtime: python
rootDir: backend
buildCommand: pip install -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: 3.12.2
healthCheckPath: /health
# Frontend Service
- type: web
name: rift2026-frontend
runtime: node
buildCommand: cd frontend && npm install && npm run build
startCommand: cd frontend && npm run preview -- --host 0.0.0.0 --port $PORT
envVars:
- key: VITE_API_URL
sync: false # Set this in Render dashboard to your backend URL
healthCheckPath: /