-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
51 lines (49 loc) · 1.58 KB
/
render.yaml
File metadata and controls
51 lines (49 loc) · 1.58 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
projects:
- name: sf-pulse
environments:
- name: production
databases:
- name: sf-pulse-db
databaseName: sfpulse
user: sfpulse
plan: basic-256mb
services:
- type: keyvalue
name: sf-pulse-realtime
plan: starter
maxmemoryPolicy: noeviction
ipAllowList: []
- type: web
name: sf-pulse
runtime: node
plan: starter
buildCommand: npm ci --include=dev && npm run build
preDeployCommand: node dist/bin/migrate.cjs
startCommand: node dist/server/entry.mjs
healthCheckPath: /api/healthz
envVars:
- fromGroup: sf-pulse-env
- key: DATABASE_URL
fromDatabase:
name: sf-pulse-db
property: connectionString
- key: CRON_SECRET
generateValue: true
- key: REDIS_URL
fromService:
name: sf-pulse-realtime
type: keyvalue
property: connectionString
- type: cron
name: sf-pulse-daily
runtime: node
plan: starter
# 7:00 AM PDT = 14:00 UTC
schedule: "0 14 * * *"
buildCommand: npm ci --include=dev && npm run build
startCommand: node dist/bin/trigger-workflow.cjs
envVars:
- key: RENDER_API_KEY
sync: false
- key: SF_PULSE_WORKFLOW_SLUG
sync: false