-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrender.yaml
More file actions
66 lines (64 loc) · 2.1 KB
/
Copy pathrender.yaml
File metadata and controls
66 lines (64 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
services:
# ── Express Backend ──────────────────────────────────────────────
- type: web
name: hackamine-server
runtime: node
rootDir: nextjs/server
buildCommand: npm install
startCommand: node index.js
envVars:
- key: NODE_ENV
value: production
- key: DB_SSL
value: "true"
- key: JWT_EXPIRES_IN
value: 7d
- key: SIMULATOR_INTERVAL_MS
value: "10000"
# Set these in Render dashboard:
- key: DB_HOST
sync: false
- key: DB_PORT
sync: false
- key: DB_USER
sync: false
- key: DB_PASSWORD
sync: false
- key: DB_NAME
sync: false
- key: JWT_SECRET
sync: false
- key: GENAI_URL
sync: false
- key: ALLOWED_ORIGINS
sync: false
# ── ML Inference ─────────────────────────────────────────────────
# rootDir must be repo root so ../ml/models path resolves correctly
- type: web
name: hackamine-ml
runtime: python
rootDir: .
buildCommand: pip install -r mlinference/env_init/requirements.txt
startCommand: cd mlinference && uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: ALLOWED_ORIGINS
sync: false
# ── GenAI Service ────────────────────────────────────────────────
- type: web
name: hackamine-genai
runtime: python
rootDir: genai
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
envVars:
- key: ML_INFERENCE_URL
sync: false
# Set these in Render dashboard:
- key: LLM_API_KEY
sync: false
- key: LLM_MODEL
value: llama-3.3-70b-versatile
- key: LLM_BASE_URL
value: https://api.groq.com/openai/v1
- key: LANGCHAIN_TRACING_V2
value: "false"