rsnarsna
feat(deploy): add production Dockerfile and render.yaml blueprint for free persistent hosting
d153262 Download render.yaml from Rsnarsna/auto: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/render.yaml
- Command line
-
hf download hf://spaces/Rsnarsna/auto/render.yaml
-
curl -L -o render.yaml https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/render.yaml
598 Bytes
| services: | |
| - type: web | |
| name: alli-backend | |
| env: python | |
| region: singapore # Options: oregon, frankfurt, ohio, singapore | |
| plan: free | |
| buildCommand: pip install -r requirements.txt | |
| startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT | |
| healthCheckPath: /health | |
| autoDeploy: true | |
| envVars: | |
| - key: PYTHON_VERSION | |
| value: 3.12.0 | |
| - key: STAGE | |
| value: prod | |
| - key: AUTH_REQUIRED | |
| value: "false" | |
| - key: MONGODB_URI | |
| sync: false | |
| - key: SUPABASE_URL | |
| sync: false | |
| - key: SUPABASE_KEY | |
| sync: false | |