forked from CodeYourFuture/tech-products-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
33 lines (33 loc) · 792 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
---
services:
- type: web
plan: free
name: tech-products-demo
region: frankfurt
env: node
buildCommand: npm ci --include dev; npm run build; npm prune --omit dev
startCommand: npm start
healthCheckPath: /health
envVars:
- key: DATABASE_URL
fromDatabase:
name: psql
property: connectionString
- key: LOG_LEVEL
value: info
- key: NODE_ENV
value: production
- key: OAUTH_CLIENT_ID
sync: false
- key: OAUTH_CLIENT_SECRET
sync: false
- key: SESSION_SECRET
generateValue: true
- key: SUDO_TOKEN
sync: false
databases:
- name: psql
region: frankfurt
databaseName: cyf
plan: free
ipAllowList: [] # only allow internal connections