-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
38 lines (38 loc) · 931 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
- type: web
name: dull-meshi-app
env: static
rootDir: frontend
buildCommand: npm ci && npm run build
staticPublishPath: dist
pullRequestPreviewsEnabled: true
headers:
- path: /*
name: X-Frame-Options
value: sameorigin
routes:
- type: rewrite
source: /*
destination: /
envVars:
- key: VITE_API_ENDPOINT
value: https://dull-meshi-app-backend.onrender.com
- type: web
name: dull-meshi-app.backend
env: node
region: singapore
plan: free
rootDir: backend
buildCommand: npm ci && npm run build
startCommand: npm run start
envVars:
- key: PORT
value: 3000
- key: DATABASE_URL
sync: false
- key: WEB_ORIGIN
value: https://dull-meshi-app.onrender.com
- key: VITE_SUPABASE_URL
sync: false
- key: VITE_SUPABASE_ANON_KEY
sync: false