-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathrender.yaml
More file actions
37 lines (37 loc) · 809 Bytes
/
render.yaml
File metadata and controls
37 lines (37 loc) · 809 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
previews:
generation: automatic
expireAfterDays: 3
services:
- type: web
plan: standard
previews:
plan: starter
name: express-backend
env: 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
env: static
buildCommand: cd frontend && yarn install && yarn build
staticPublishPath: ./frontend/build
envVars:
- key: REACT_APP_API_HOST
fromService:
type: web
name: express-backend
property: host
databases:
- name: postgres_db
databaseName: test_db
user: test_user
plan: standard
previewPlan: starter