-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathrender.yaml
More file actions
39 lines (39 loc) · 854 Bytes
/
Copy pathrender.yaml
File metadata and controls
39 lines (39 loc) · 854 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
previews:
generation: automatic
expireAfterDays: 3
services:
- type: web
plan: free
previews:
plan: starter
name: express-backend
runtime: node
buildCommand: cd backend && yarn
startCommand: cd backend && yarn start
envVars:
- key: MY_API_KEY
value: production-api-key
previewValue: test-api-key
- key: DB_CONNECTION_STRING
fromDatabase:
name: postgres_db
property: connectionString
- type: web
name: render-todo
runtime: static
buildCommand: cd frontend && yarn install && yarn build
staticPublishPath: ./frontend/build
envVars:
- key: NODE_VERSION
value: 20
- key: REACT_APP_API_HOST
fromService:
type: web
name: express-backend
property: host
databases:
- name: postgres_db
databaseName: test_db
user: test_user
plan: Basic-1gb
previewPlan: basic-256mb