-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
28 lines (27 loc) · 1.23 KB
/
Copy pathrender.yaml
File metadata and controls
28 lines (27 loc) · 1.23 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
services:
# ── Next.js frontend ────────────────────────────────────────────────────────
- type: web
name: sessionmap-web
runtime: node
region: frankfurt
plan: starter
buildCommand: pnpm install --frozen-lockfile && pnpm --filter @sessionmap/types build && NODE_OPTIONS=--max-old-space-size=450 pnpm --filter @sessionmap/web build
startCommand: pnpm --filter @sessionmap/web start
envVars:
- key: NODE_ENV
value: production
- key: NEXT_PUBLIC_WS_URL
value: wss://sessionmap-server.onrender.com
# ── Express / WebSocket backend ─────────────────────────────────────────────
- type: web
name: sessionmap-server
runtime: node
region: frankfurt
plan: free
buildCommand: pnpm install --frozen-lockfile && pnpm --filter @sessionmap/types build && pnpm --filter @sessionmap/server build
startCommand: node apps/server/dist/index.js
envVars:
- key: NODE_ENV
value: production
- key: CLIENT_ORIGIN
value: https://sessionmap-web.onrender.com