forked from near/near-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
224 lines (207 loc) · 6.94 KB
/
render.yaml
File metadata and controls
224 lines (207 loc) · 6.94 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
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
previewsEnabled: true
services:
## Explorer frontend
- type: web
name: frontend
env: node
plan: starter plus
repo: https://github.com/near/near-explorer.git
buildCommand: cd frontend && npm clean-install && npm run build
startCommand: cd frontend && npm run start
healthCheckPath: /api/ping
envVars:
- key: NEAR_EXPLORER_WAMP_SSR_HOST
fromService:
type: web
name: wamp
property: host
- key: NEAR_EXPLORER_WAMP_HOST
fromService:
type: web
name: wamp
envVarKey: RENDER_EXTERNAL_HOSTNAME
- key: NEAR_EXPLORER_WAMP_BACKEND_SECRET
fromService:
type: web
name: wamp
envVarKey: NEAR_EXPLORER_WAMP_BACKEND_SECRET
- fromGroup: frontend
- key: NEAR_EXPLORER_GOOGLE_ANALYTICS
value: UA-100373569-14
- key: NEAR_NETWORKS
value: |
[
{
"name": "mainnet",
"explorerLink": "https://explorer.near.org/",
"aliases": ["explorer.near.org", "explorer.mainnet.near.org", "explorer.nearprotocol.com", "explorer.mainnet.nearprotocol.com"],
"lockupAccountIdSuffix": "lockup.near",
"nearWalletProfilePrefix": "https://wallet.near.org/profile"
},
{
"name": "testnet",
"explorerLink": "https://explorer.testnet.near.org/",
"aliases": ["explorer.testnet.near.org", "explorer.testnet.nearprotocol.com"],
"nearWalletProfilePrefix": "https://wallet.testnet.near.org/profile"
},
{
"name": "guildnet",
"explorerLink": "https://explorer.guildnet.near.org/",
"aliases": ["explorer.guildnet.near.org"],
"nearWalletProfilePrefix": "https://wallet.openshards.io/profile"
}
]
## Explorer WAMP
- type: web
name: wamp
env: docker
plan: pro
previewPlan: starter
dockerfilePath: ./wamp/Dockerfile
dockerContext: ./wamp
repo: https://github.com/near/near-explorer.git
envVars:
- key: NEAR_EXPLORER_WAMP_BACKEND_SECRET
generateValue: true
## Explorer backend [mainnet]
- type: worker
name: backend/mainnet
env: node
repo: https://github.com/near/near-explorer.git
buildCommand: cd backend && npm clean-install && npm run build
startCommand: cd backend && npm run start
envVars:
- key: NEAR_EXPLORER_WAMP_HOST
fromService:
type: web
name: wamp
property: host
- key: NEAR_EXPLORER_WAMP_BACKEND_SECRET
fromService:
type: web
name: wamp
envVarKey: NEAR_EXPLORER_WAMP_BACKEND_SECRET
- fromGroup: backend
- fromGroup: backend/mainnet
- fromGroup: backend/mainnet/secret
## Explorer backend [testnet]
- type: worker
name: backend/testnet
env: node
repo: https://github.com/near/near-explorer.git
buildCommand: cd backend && npm clean-install && npm run build
startCommand: cd backend && npm run start
envVars:
- key: NEAR_EXPLORER_WAMP_HOST
fromService:
type: web
name: wamp
property: host
- key: NEAR_EXPLORER_WAMP_BACKEND_SECRET
fromService:
type: web
name: wamp
envVarKey: NEAR_EXPLORER_WAMP_BACKEND_SECRET
- fromGroup: backend
- fromGroup: backend/testnet
- fromGroup: backend/testnet/secret
## Explorer backend [guildnet]
- type: worker
name: backend/guildnet
env: node
repo: https://github.com/near/near-explorer.git
buildCommand: cd backend && npm clean-install && npm run build
startCommand: cd backend && npm run start
envVars:
- key: NEAR_EXPLORER_WAMP_HOST
fromService:
type: web
name: wamp
property: host
- key: NEAR_EXPLORER_WAMP_BACKEND_SECRET
fromService:
type: web
name: wamp
envVarKey: NEAR_EXPLORER_WAMP_BACKEND_SECRET
- fromGroup: backend
- fromGroup: backend/guildnet
- fromGroup: backend/guildnet/secret
envVarGroups:
- name: frontend
envVars:
- key: NEAR_EXPLORER_WAMP_SECURE
value: true
- key: NEAR_EXPLORER_WAMP_SSR_SECURE
value: false
- key: NEAR_EXPLORER_WAMP_PORT
value: 443
- key: NEAR_EXPLORER_WAMP_SSR_PORT
value: 10000
- name: backend
envVars:
- key: NEAR_EXPLORER_WAMP_SECURE
value: false
- key: NEAR_EXPLORER_WAMP_PORT
value: 10000
- name: backend/mainnet
envVars:
- key: NEAR_EXPLORER_WAMP_NETWORK_NAME
value: mainnet
- key: NEAR_ARCHIVAL_RPC_URL
value: https://archive-internal-rpc.mainnet.near.org/
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_HOST
value: 34.78.19.198
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_NAME
value: indexer_analytics_mainnet
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_USERNAME
value: public_readonly
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_PASSWORD
value: nearprotocol
- key: NEAR_READ_ONLY_TELEMETRY_DATABASE_HOST
value: 34.78.19.198
- key: NEAR_READ_ONLY_TELEMETRY_DATABASE_NAME
value: telemetry_mainnet
- name: backend/testnet
envVars:
- key: NEAR_EXPLORER_WAMP_NETWORK_NAME
value: testnet
- key: NEAR_ARCHIVAL_RPC_URL
value: https://archive-internal-rpc.testnet.near.org/
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_HOST
value: 35.241.197.241
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_NAME
value: indexer_analytics_testnet
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_USERNAME
value: public_readonly
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_PASSWORD
value: nearprotocol
- key: NEAR_READ_ONLY_TELEMETRY_DATABASE_HOST
value: 35.241.197.241
- key: NEAR_READ_ONLY_TELEMETRY_DATABASE_NAME
value: telemetry_testnet
- name: backend/guildnet
envVars:
- key: NEAR_EXPLORER_WAMP_NETWORK_NAME
value: guildnet
- key: NEAR_ARCHIVAL_RPC_URL
value: https://rpc.openshards.io
- key: NEAR_READ_ONLY_INDEXER_DATABASE_HOST
value: 159.89.46.95
- key: NEAR_READ_ONLY_INDEXER_DATABASE_NAME
value: guildnet_explorer
- key: NEAR_READ_ONLY_INDEXER_DATABASE_USERNAME
value: public_readonly
- key: NEAR_READ_ONLY_INDEXER_DATABASE_PASSWORD
value: nearprotocol
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_HOST
value: 35.205.19.192
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_NAME
value: indexer_analytics_guildnet
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_USERNAME
value: public_readonly
- key: NEAR_READ_ONLY_ANALYTICS_DATABASE_PASSWORD
value: nearprotocol
- key: NEAR_READ_ONLY_TELEMETRY_DATABASE_HOST
value: 35.205.19.192
- key: NEAR_READ_ONLY_TELEMETRY_DATABASE_NAME
value: telemetry_guildnet