Spaces:
Sleeping
Sleeping
Download render.yaml from edichat/edi.chat.test: direct link, hf CLI and curl.
- Browser
- Download file 1.56 kB
-
https://huggingface.co/spaces/edichat/edi.chat.test/resolve/main/render.yaml
- Command line
-
hf download hf://spaces/edichat/edi.chat.test/render.yaml
-
curl -L -o render.yaml https://huggingface.co/spaces/edichat/edi.chat.test/resolve/main/render.yaml
1.56 kB
| services: | |
| # Backend API Service | |
| - type: web | |
| name: edichat-backend | |
| runtime: node | |
| repo: https://github.com/edichat-llc/edi.chat.test | |
| buildCommand: cd backend && npm install | |
| startCommand: cd backend && npm start | |
| envVars: | |
| - key: NODE_ENV | |
| value: production | |
| - key: PORT | |
| value: 5000 | |
| - key: FRONTEND_URL | |
| value: https://edi.chat | |
| - key: BACKEND_URL | |
| value: https://edichat-backend.onrender.com | |
| - key: USE_LOCAL_AI | |
| value: false # Ollama not available on Render | |
| - key: MONGODB_URI | |
| fromDatabase: | |
| name: edichat-mongodb | |
| property: connectionString | |
| - key: JWT_SECRET | |
| generateValue: true | |
| - key: JWT_REFRESH_SECRET | |
| generateValue: true | |
| healthCheckPath: /api/health | |
| domains: | |
| - api.edi.chat | |
| # Frontend Static Site | |
| - type: web | |
| name: edichat-frontend | |
| runtime: static | |
| repo: https://github.com/edichat-llc/edi.chat.test | |
| buildCommand: cd frontend && npm install && npm run build | |
| staticPublishPath: frontend/build | |
| headers: | |
| - path: /* | |
| name: X-Frame-Options | |
| value: SAMEORIGIN | |
| - path: /* | |
| name: X-Content-Type-Options | |
| value: nosniff | |
| routes: | |
| - type: rewrite | |
| source: /* | |
| destination: /index.html | |
| domains: | |
| - edi.chat | |
| - www.edi.chat | |
| # Optional: Database (if not using MongoDB Atlas) | |
| databases: | |
| - name: edichat-mongodb | |
| plan: free # or 'starter' for $7/month | |
| databaseName: edichat | |
| user: edichat |