-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
56 lines (55 loc) · 1.71 KB
/
render.yaml
File metadata and controls
56 lines (55 loc) · 1.71 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
services:
# --------------------------------------------------------------------------------
# BACKEND API (REST)
# --------------------------------------------------------------------------------
- type: web
name: vext-backend
region: frankfurt
env: node
plan: free # Change to starter/standard for production
rootDir: . # Root context for Monorepo
# Build: Install all dependencies, then build backend
buildCommand: npm install -g bun && bun install && cd apps/backend && bun run build
# Start: Run the compiled JS code
startCommand: cd apps/backend && bun run start
envVars:
- key: NODE_ENV
value: production
- key: MONGODB_URI
sync: false
- key: JWT_SECRET
sync: false
- key: CLOUDINARY_CLOUD_NAME
sync: false
- key: CLOUDINARY_API_KEY
sync: false
- key: CLOUDINARY_API_SECRET
sync: false
- key: REDIS_URL
sync: false
- key: PORT
sync: false
# --------------------------------------------------------------------------------
# WEBSOCKET SERVER (Socket.io/Elysia)
# --------------------------------------------------------------------------------
- type: web
name: vext-ws-server
region: frankfurt
env: node
plan: free
rootDir: . # Root context for Monorepo
# Build: Install all dependencies
buildCommand: npm install -g bun && bun install
# Start: Run the server
startCommand: bun run --filter vext-ws-server start
envVars:
- key: NODE_ENV
value: production
- key: MONGODB_URI
sync: false
- key: JWT_SECRET
sync: false
- key: REDIS_URL
sync: false
- key: PORT
sync: false