predictor / render.yaml
pengpeng9099's picture
Deploy World Cup 2026 Predictor (docker space)
1790bde verified
Raw History Blame Contribute Delete
836 Bytes
services:
- type: web
name: worldcup-api
runtime: python
plan: free
region: singapore
buildCommand: pip install --upgrade pip && pip install -r requirements.txt
startCommand: bash services/api/render_start.sh
healthCheckPath: /api/meta
envVars:
- key: PYTHONUTF8
value: "1"
- key: PYTHONIOENCODING
value: utf-8
- key: N_SIMS
value: "5000"
- type: web
name: worldcup-web
runtime: node
plan: free
region: singapore
buildCommand: cd apps/web && npm ci && npm run build
startCommand: cd apps/web && npm run start:render
healthCheckPath: /
envVars:
- key: NODE_ENV
value: production
- key: API_BACKEND_HOSTPORT
fromService:
type: web
name: worldcup-api
property: hostport