Download render.yaml from Harp404/Space: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/spaces/Harp404/Space/resolve/main/render.yaml
- Command line
-
hf download hf://spaces/Harp404/Space/render.yaml
-
curl -L -o render.yaml https://huggingface.co/spaces/Harp404/Space/resolve/main/render.yaml
1.26 kB
| # Render deploy — single service (gateway serves frontend + /api + /ws, all same-origin). | |
| # Secrets are set in the Render dashboard, never committed. | |
| services: | |
| - type: web | |
| name: astromesh | |
| runtime: node | |
| plan: free | |
| # Installs frontend deps (incl. satellite.js used by the gateway) and builds the Vue app. | |
| buildCommand: cd frontend && npm install && npm run build | |
| startCommand: node dev/mock-gateway.js | |
| healthCheckPath: /health | |
| autoDeploy: true | |
| envVars: | |
| - key: GROQ_MODEL | |
| value: openai/gpt-oss-120b | |
| # Frontend (Vite) build-time tokens — inlined into the bundle at `npm run build`. | |
| # These are client-side by nature (visible in F12); scope them in their dashboards. | |
| - key: VITE_CESIUM_TOKEN | |
| sync: false | |
| - key: VITE_OWM_KEY | |
| sync: false | |
| - key: VITE_GMAPS_KEY | |
| sync: false | |
| # Set these in the dashboard (Environment tab) — do NOT hardcode: | |
| - key: SPACETRACK_IDENTITY | |
| sync: false | |
| - key: SPACETRACK_PASSWORD | |
| sync: false | |
| - key: GROQ_API_KEY | |
| sync: false | |
| # After first deploy, set this to your live URL to lock CORS, e.g. | |
| # https://astromesh.onrender.com | |
| - key: ALLOWED_ORIGINS | |
| sync: false | |