-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
91 lines (89 loc) · 2.28 KB
/
Copy pathrender.yaml
File metadata and controls
91 lines (89 loc) · 2.28 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
services:
- type: web
name: knowhy-backend
runtime: node
plan: free
rootDir: server
buildCommand: npm ci --omit=dev
startCommand: npm start
healthCheckPath: /api/health
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: knowhy-postgres
property: connectionString
- key: CLIENT_URL
sync: false
- key: CLIENT_URLS
sync: false
- key: ENABLE_FILE_LOGS
value: "false"
- key: DB_INIT_MAX_RETRIES
value: "40"
- key: DB_INIT_RETRY_DELAY_MS
value: "3000"
- key: AUTH0_DOMAIN
sync: false
- key: AUTH0_CLIENT_ID
sync: false
- key: AUTH0_CLIENT_SECRET
sync: false
- key: AUTH0_AUDIENCE
sync: false
- key: AUTH0_CALLBACK_URL
sync: false
- key: AUTH0_GMAIL_CALLBACK_URL
sync: false
- key: AUTH0_LOGOUT_URL
sync: false
- key: AUTH0_CUSTOM_API_CLIENT_ID
sync: false
- key: AUTH0_CUSTOM_API_CLIENT_SECRET
sync: false
- key: OPENROUTER_API_KEY
sync: false
- key: OPENROUTER_BASE_URL
value: https://openrouter.ai/api/v1
- key: WORKER_MODEL
value: anthropic/claude-opus-4.6
- key: GUARDRAIL_MODEL
value: google/gemini-3.1-pro-preview-customtools
- key: ENABLE_RESPONSE_GUARDRAIL
value: "false"
- key: SESSION_SECRET
generateValue: true
- key: STEP_UP_ALLOWED_AUDIENCES
sync: false
- key: STEP_UP_WINDOW_SECONDS
value: "300"
- key: STEP_UP_REQUIRE_MFA_CLAIM
value: "true"
- type: web
name: knowhy-frontend
runtime: static
rootDir: client
buildCommand: npm ci && npm run build
staticPublishPath: ./dist
routes:
- type: rewrite
source: /*
destination: /index.html
envVars:
- key: VITE_API_URL
fromService:
type: web
name: knowhy-backend
envVarKey: RENDER_EXTERNAL_URL
- key: VITE_AUTH0_DOMAIN
sync: false
- key: VITE_AUTH0_CLIENT_ID
sync: false
- key: VITE_AUTH0_AUDIENCE
sync: false
databases:
- name: knowhy-postgres
databaseName: knowhy_db
user: knowhy_user
plan: free