-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
163 lines (162 loc) · 4.54 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
previewsEnabled: true
services:
- type: web
name: cred-frontend
plan: pro
previewPlan: starter
runtime: node
region: oregon
buildCommand: pnpm i && pnpm -F frontend build
startCommand: NODE_ENV=production pnpm -F frontend start
preDeployCommand: pnpm -F db migrate:prod
pullRequestPreviewsEnabled: false
autoDeploy: false
buildFilter:
paths:
- packages/frontend/**
- packages/db/**
envVars:
- key: DATABASE_URL
fromDatabase:
name: cred
property: connectionString
- key: NODE_VERSION
value: 18.17.0
- fromGroup: cred
- key: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/secrets/firebase-service-account.json
previewValue: /etc/secrets/firebase-service-account-staging.json
- type: web
name: portal
plan: pro
previewPlan: starter
runtime: node
region: oregon
buildCommand: pnpm i && pnpm -F portal build
startCommand: NODE_ENV=production pnpm -F portal start
autoDeploy: false
buildFilter:
paths:
- packages/portal/**/*
- packages/shared/**/*
envVars:
- key: NODE_VERSION
value: 18.17.0
- key: NEXT_PUBLIC_CHAIN
value: "mainnet"
previewValue: "sepolia"
- fromGroup: cred
- key: NEXT_PUBLIC_MIXPANEL_TOKEN
value: 8e0fce62c1d9b2394989eaef1247cfc2
previewValue: 4f57a2e1c29d0e91fe07d1292e325520
- key: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/secrets/firebase-service-account.json
previewValue: /etc/secrets/firebase-service-account-staging.json
- key: NEXT_PUBLIC_PROJECT_ID
value: "cred-279bb"
previewValue: "staging-423405"
- key: NEXT_PUBLIC_VAPID_KEY
value: BHaVlakB8SbeMEprNB2e6FQtlPMFjyWEhMnBH8dKn-q2epYPi--NNCWM2EZmsjaXUQ0FbKpPuppmC-Od6xL0M88
previewValue: BKF9U_p1O5RChiFe30w4bq-IcVTh-i0LcXHSpBUsELHuzfxsQlqhlqL9QfzjuavM_k1aWksZRbEuWQHkTid6J70
- key: NEXT_PUBLIC_PRIVY_APP_ID
value: clw1tqoyj02yh110vokuu7yc5
previewValue: clyo1taco03wrv74xdboukyxi
- type: web
name: cred-indexer
plan: pro max
previewPlan: starter
runtime: docker
region: oregon
dockerfilePath: ./Dockerfile.indexer
preDeployCommand: populate
pullRequestPreviewsEnabled: false
rootDir: ./
autoDeploy: false
buildFilter:
paths:
- packages/indexer-rs/**/*
- packages/db/**/**/*
envVars:
- key: DATABASE_URL
fromDatabase:
name: cred
property: connectionString
- fromGroup: cred
disk:
name: db
mountPath: /usr/src/app/db
- type: worker
name: portal-sync
plan: standard
previewPlan: starter
runtime: node
region: oregon
buildCommand: pnpm i
startCommand: pnpm -F sync start
rootDir: ./
autoDeploy: false
buildFilter:
paths:
- packages/sync/**/*
- packages/shared/**/*
envVars:
- key: NODE_VERSION
value: 18.17.0
- fromGroup: cred
- key: DATABASE_URL
fromDatabase:
name: cred
property: connectionString
- key: CHAIN
value: "mainnet"
previewValue: "sepolia"
- key: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/secrets/firebase-service-account.json
previewValue: /etc/secrets/firebase-service-account-staging.json
- type: worker
name: portal-notifier
plan: standard
previewPlan: starter
runtime: node
region: oregon
buildCommand: pnpm i
startCommand: pnpm -F notification start
rootDir: ./
autoDeploy: false
buildFilter:
paths:
- packages/notification/**/*
- packages/shared/**/*
envVars:
- key: NODE_VERSION
value: 18.17.0
- fromGroup: cred
- key: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/secrets/firebase-service-account.json
previewValue: /etc/secrets/firebase-service-account-staging.json
- type: worker
name: portal-monkey
plan: starter
runtime: node
region: oregon
buildCommand: pnpm i
startCommand: pnpm -F monkey start
rootDir: ./
autoDeploy: false
buildFilter:
paths:
- packages/monkey/**/*
- packages/shared/**/*
envVars:
- key: NODE_VERSION
value: 18.17.0
- fromGroup: cred
- key: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/secrets/firebase-service-account-staging.json
databases:
- name: cred
databaseName: cred
region: oregon
plan: pro
previewPlan: starter
postgresMajorVersion: 15