-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
67 lines (66 loc) · 1.57 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
services:
- type: cron
name: warmup-cred-api
runtime: node
branch: main
region: oregon
rootDir: ./
schedule: '* * * * *'
startCommand: sh ./packages/cred-api/scripts/warmup.sh
buildFilter:
paths:
- packages/cred-api/scripts/**
ignoredPaths:
- packages/coindata/**
- packages/cred-api/**
- packages/indexer/**
- type: cron
name: credmapper
plan: pro plus
env: node
region: oregon
rootDir: ./
branch: main
schedule: '0 0 * * *'
buildCommand: pnpm i && pnpm -F db migrate:prod
startCommand: pnpm -F indexer indexOneOff
buildFilter:
paths:
- packages/indexer/**
- packages/db/**
ignoredPaths:
- packages/cred-api/**
- packages/coindata/**
- packages/app/**
envVars:
- fromGroup: credmapper
- key: NODE_VERSION
value: 18.14.0
- type: cron
name: credmapper-2
plan: standard
env: node
region: oregon
rootDir: ./
branch: main
schedule: '*/15 * * * *'
buildCommand: pnpm i && pnpm -F db migrate:prod
startCommand: pnpm -F indexer exec ts-node ./src/indexCred.ts
buildFilter:
paths:
- packages/indexer/**
- packages/db/**
ignoredPaths:
- packages/cred-api/**
- packages/coindata/**
- packages/app/**
envVars:
- fromGroup: credmapper
- key: NODE_VERSION
value: 18.14.0
databases:
- name: credmapper-db
databaseName: credmapper
region: oregon
plan: pro plus
postgresMajorVersion: 15