-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrender.yaml
24 lines (20 loc) · 1002 Bytes
/
render.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
- type: web
name: neon-auth-stack-demo
runtime: node
plan: free
# Set NODE_ENV=development for build command since Render needs devDependencies to build Next.js (https://community.render.com/t/nextjs-deployment-fails-unless-devdependencies-moved-to-dependencies-in-package-json/26748)
buildCommand: NODE_ENV=development npm install && npm run build
startCommand: npm run start
autoDeploy: false
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
sync: false # Securely configure the database URL in Render Dashboard
- key: NEXT_PUBLIC_STACK_PROJECT_ID
sync: false # Configure your Stack Auth Project ID in Render Dashboard
- key: NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY
sync: false # Configure your Stack Auth Publishable Client Key in Render Dashboard
- key: STACK_SECRET_SERVER_KEY
sync: false # Securely configure your Stack Auth Secret Server Key in Render Dashboard