-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
29 lines (28 loc) · 708 Bytes
/
render.yaml
File metadata and controls
29 lines (28 loc) · 708 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
services:
- type: web
name: cs-study-backend
runtime: docker
rootDir: backend
plan: free
envVars:
- key: SLACK_ENABLED
value: "false"
- key: APP_BASE_URL
value: https://cs-study-frontend.onrender.com
- key: DATABASE_URL
fromDatabase:
name: cs-study-db
property: connectionString
- type: web
name: cs-study-frontend
runtime: static
rootDir: frontend
buildCommand: npm install && npm run build
staticPublishPath: dist
routes:
- type: rewrite
source: /*
destination: /index.html
envVars:
- key: VITE_API_URL
value: https://cs-study-backend.onrender.com/api/v1