-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
41 lines (40 loc) · 988 Bytes
/
render.yaml
File metadata and controls
41 lines (40 loc) · 988 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
- type: web
name: party-server
runtime: docker
dockerContext: server
dockerfilePath: Dockerfile
plan: free
region: oregon # or your preferred region
envVars:
- key: PORT
value: 5000
- key: NODE_ENV
value: production
- key: MONGO_URI
sync: false # User needs to provide this in Render dashboard
- key: JWT_SECRET
generateValue: true
- key: GMAIL_USER
sync: false
- key: GMAIL_PASS
sync: false
- key: FRONTEND_URL
sync: false
- key: GOOGLE_CLIENT_ID
sync: false
- key: ENCRYPTION_KEY
sync: false
- type: web
name: party-client
runtime: static
buildCommand: npm install && npm run build
staticPublishDir: client/dist
envVars:
- key: VITE_API_URL
fromService:
type: web
name: party-server
property: host
- key: VITE_GOOGLE_CLIENT_ID
sync: false