-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
36 lines (36 loc) · 1.15 KB
/
render.yaml
File metadata and controls
36 lines (36 loc) · 1.15 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
services:
- type: web
name: node-defenders-api
runtime: node
region: oregon
plan: free
buildCommand: npm install && npx prisma generate && npm run build
startCommand: node dist/src/main
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
sync: false # enter manually in Render dashboard
- key: REDIS_URL
sync: false # Upstash Redis URL
- key: SIGNER_BASE_URL
sync: false # URL of your deployed node-defenders-signer
- key: JWT_SECRET
generateValue: true # Render auto-generates a secure value
- key: JWT_EXPIRES_IN
value: 7d
- key: INTERNAL_API_KEY
sync: false # must match the value set in node-defenders-signer
- key: FUJI_RPC_URL
value: https://api.avax-test.network/ext/bc/C/rpc
- key: FUJI_WSS_URL
value: wss://api.avax-test.network/ext/bc/C/ws
- key: WEB3AUTH_JWKS_URL
value: https://api.openlogin.com/jwks
- key: GAME_ID
value: 1
- key: SURVIVAL_MODE_ID
value: 1
- key: PORT
value: 3000