Spaces:
Running
Running
File size: 836 Bytes
1790bde | 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: 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
|