Spaces:
Sleeping
Sleeping
| 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" | |