-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
38 lines (38 loc) · 1.03 KB
/
Copy pathrender.yaml
File metadata and controls
38 lines (38 loc) · 1.03 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
services:
- type: web
name: cadence-api
runtime: node
plan: free
buildCommand: >-
npm install &&
npm run build --workspace @cadence/shared &&
cd apps/api &&
npx prisma generate &&
npm run build
startCommand: >-
cd apps/api &&
npx prisma migrate deploy &&
(npx tsx prisma/seed.ts || echo "seed skipped") &&
(npx tsx src/scripts/assess.ts || echo "assess skipped") &&
node dist/server.js
healthCheckPath: /health
envVars:
- key: BMONI_PROVIDER
value: mock
- key: BMONI_BASE_URL
value: https://embedded-dev.bmoni.com
- key: DATABASE_URL
value: file:./prod.db
- key: GEMINI_MODEL
value: gemini-flash-latest
# Secrets — set these in the Render dashboard (never committed):
- key: BMONI_API_KEY
sync: false
- key: GEMINI_API_KEY
sync: false
- key: BMONI_USER_ID
sync: false
- key: BMONI_OWNER_KEY
sync: false
- key: APP_SECRET
sync: false