-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
32 lines (31 loc) · 744 Bytes
/
render.yaml
File metadata and controls
32 lines (31 loc) · 744 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
services:
- type: web
name: Bhh-Backend
env: node
plan: starter
rootDir: api
buildCommand: npm install
startCommand: node src/server.js
envVars:
- key: NODE_ENV
value: production
- key: APP_ORIGIN
value: https://bhh.icholding.cloud
- key: COOKIE_DOMAIN
value: icholding.cloud
- key: JWT_SECRET
value: bhh-sovereign-default-secret
- type: static_site
name: Bhh
env: static
plan: starter
rootDir: web
buildCommand: npm ci && npm run build
publishDir: dist
envVars:
- key: VITE_API_BASE_URL
value: https://api-bhh.icholding.cloud
routes:
- type: rewrite
source: /*
destination: /index.html