forked from boostcampwm-snu-2026-1/RTSGame_ReokyoungKim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
18 lines (18 loc) · 744 Bytes
/
Copy pathrender.yaml
File metadata and controls
18 lines (18 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Render Blueprint — free backend hosting for the FastAPI generator.
# Deploy: Render Dashboard -> New -> Blueprint -> pick this repo.
# A web service (not serverless) so the slow multi-call LLM pipeline isn't
# cut off by a short function timeout.
services:
- type: web
name: rtsgame-backend
runtime: python
plan: free # free tier: sleeps after 15 min idle (cold start ~1 min)
rootDir: backend
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
envVars:
- key: OPENAI_API_KEY
sync: false # set this secret in the Render dashboard, never commit it
- key: PYTHON_VERSION
value: "3.11"