-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrender.yaml
More file actions
26 lines (26 loc) · 941 Bytes
/
render.yaml
File metadata and controls
26 lines (26 loc) · 941 Bytes
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
services:
- type: web
name: way-of-ghost-server
runtime: node
rootDir: server
buildCommand: npm install && npx prisma generate && npm run build
startCommand: npx prisma migrate deploy && npm start
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 10000
- key: DATABASE_URL
sync: false # Set manually in Render dashboard
- key: JWT_SECRET
sync: false # Set manually in Render dashboard
- key: JWT_EXPIRES_IN
value: 1d
- key: CLIENT_ORIGIN
sync: false # Set to your Vercel URL e.g. https://way-of-ghost.vercel.app
- key: ADMIN_EMAIL
sync: false # Set manually in Render dashboard
- key: ADMIN_PASSWORD
sync: false # Set manually in Render dashboard
- key: PISTON_URL
value: https://emkc.org/api/v2/piston/execute # Public Piston API