Spaces:
Sleeping
Sleeping
File size: 619 Bytes
4e22ad8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | services:
- type: web
name: damm-truck-api
runtime: python
region: frankfurt # closest Render region to Barcelona
plan: standard # 2 GB RAM. Starter (512 MB) risks OOM on graph load.
rootDir: backend # FastAPI app lives in /backend in the repo
pythonVersion: "3.12"
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app:app --host 0.0.0.0 --port $PORT --workers 1
healthCheckPath: /health
autoDeploy: true
envVars:
- key: MPLBACKEND
value: Agg
- key: PYTHONUNBUFFERED
value: "1"
|