-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
50 lines (47 loc) · 1.26 KB
/
render.yaml
File metadata and controls
50 lines (47 loc) · 1.26 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
databases:
- name: llmshield-db
plan: free
databaseName: llmshield
services:
- type: redis
name: llmshield-redis
plan: free
maxmemoryPolicy: allkeys-lru
ipAllowList:
- source: 0.0.0.0/0
description: Allow all
- type: web
name: llmshield-gateway
runtime: node
plan: free
rootDir: gateway
buildCommand: npm install && npx prisma generate
startCommand: npx prisma db push && node src/server.js
envVars:
- key: DATABASE_URL
fromDatabase:
name: llmshield-db
property: connectionString
- key: REDIS_URL
fromService:
name: llmshield-redis
type: redis
property: connectionString
- key: GROQ_API_KEY
sync: false
- key: SMALL_MODEL
value: llama-3.1-8b-instant
- key: LARGE_MODEL
value: llama-3.3-70b-versatile
- key: EMBEDDINGS_ENABLED
value: "false"
- type: web
name: llmshield-dashboard
runtime: node
plan: free
rootDir: dashboard
buildCommand: npm install && npm run build
startCommand: npx next start -p $PORT
envVars:
- key: NEXT_PUBLIC_GATEWAY_URL
value: "https://llmshield-gateway.onrender.com"