HunterAI / render.yaml
Abhisingh-18's picture
Mirror of github.com/Abhisingh18/HunterAI
cc6cee7 verified
Raw
History Blame Contribute Delete
1.02 kB
services:
# Backend Service
- type: web
name: hunter-ai-backend
env: python
region: singapore
plan: free
buildCommand: pip install -r requirements.txt
startCommand: python main.py
rootDirectory: .
envVars:
- key: PYTHON_VERSION
value: 3.10.0
- key: FRONTEND_URL
fromService:
type: web
name: hunter-ai-frontend
property: url
- key: OLLAMA_URL
value: http://localhost:11434 # Placeholder, user must update this in Render dashboard
- key: PORT
value: 10000
- key: GROQ_API_KEY
sync: false
# Frontend Service
- type: web
name: hunter-ai-frontend
env: static
region: singapore
plan: free
buildCommand: npm install && npm run build
staticPublishPath: ./dist
rootDirectory: frontend
envVars:
- key: VITE_API_URL
fromService:
type: web
name: hunter-ai-backend
property: url