-
Notifications
You must be signed in to change notification settings - Fork 375
/
.env.alfajores
242 lines (193 loc) · 10.4 KB
/
.env.alfajores
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
ENV_TYPE="production"
GETH_VERBOSITY=2
KUBERNETES_CLUSTER_NAME="alfajores"
KUBERNETES_CLUSTER_ZONE="us-west1-a"
CLUSTER_DOMAIN_NAME="celo-testnet"
TESTNET_PROJECT_NAME="celo-testnet-production"
BLOCKSCOUT_DOCKER_IMAGE_TAG="0362f9f4d1d4842f27adb634d628f969f53c046d"
# Assign a new value everytime you redeploy blockscout. Or else the deployment will fail due to the
# existing database.
BLOCKSCOUT_DB_SUFFIX="2"
FAUCET_GENESIS_ACCOUNTS=2
CELOSTATS_SERVER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celostats-server"
CELOSTATS_SERVER_DOCKER_IMAGE_TAG="master"
CELOSTATS_FRONTEND_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celostats-frontend"
CELOSTATS_FRONTEND_DOCKER_IMAGE_TAG="master"
CELOSTATS_TRUSTED_ADDRESSES=""
CELOSTATS_BANNED_ADDRESSES=""
CELOSTATS_RESERVED_ADDRESSES=""
ORACLE_DOCKER_IMAGE_REPOSITORY="us-west1-docker.pkg.dev/celo-testnet-production/celo-oracle/celo-oracle"
ORACLE_DOCKER_IMAGE_TAG="1.0.13"
AZURE_ORACLE_CENTRALUS_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ORACLE_CENTRALUS_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ORACLE_CENTRALUS_AZURE_KUBERNETES_RESOURCE_GROUP=baklava-oracles-centralus
AZURE_ORACLE_CENTRALUS_KUBERNETES_CLUSTER_NAME=baklava-oracles-centralus
AZURE_ORACLE_CENTRALUS_AZURE_REGION_NAME=centralus
AZURE_ORACLE_CENTRALUS_CELOUSD_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_CELOEUR_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_CELOBRL_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_USDCUSD_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_USDCEUR_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_USDCBRL_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_EUROCEUR_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_CELOXOF_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_EURXOF_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_EUROCXOF_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_FULL_NODES_COUNT=2
AZURE_ORACLE_CENTRALUS_FULL_NODES_DISK_SIZE=30
AZURE_ORACLE_CENTRALUS_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_CENTRALUS_FULL_NODES_RPC_API_METHODS="eth,net,rpc,web3"
AZURE_ORACLE_CENTRALUS_FULL_NODES_GETH_GC_MODE="full"
AZURE_ORACLE_CENTRALUS_FULL_NODES_USE_GSTORAGE_DATA=false
AZURE_ORACLE_CENTRALUS_FULL_NODES_WS_PORT="8546"
# Temporarily point to celo-org repository to consume patched image.
GETH_NODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-org/geth"
GETH_NODE_DOCKER_IMAGE_TAG="1.7.2"
GETH_BOOTNODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-org/geth-all"
GETH_BOOTNODE_DOCKER_IMAGE_TAG="1.7.2"
# Enable pprof and prometheus scrape labels
GETH_ENABLE_METRICS=true
# Disable the sidecar that forwards the metrics to stackdriver
PROMETHEUS_DISABLE_STACKDRIVER_SIDECAR="true"
CELOTOOL_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
CELOTOOL_DOCKER_IMAGE_TAG="celotool-4257fe61f91e935681f3a91bb4dcb44c8dd6df47"
CELOCLI_STANDALONE_IMAGE_REPOSITORY="gcr.io/celo-testnet/celocli-standalone"
CELOCLI_STANDALONE_IMAGE_TAG="0.0.53"
# Schedule for an oracle deployed via celotool, expressed in crontab syntax
# This schedule is "every 5th minute"
MOCK_ORACLE_CRON_SCHEDULE="*/5 * * * *"
MOCK_ORACLE_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/oracle"
MOCK_ORACLE_DOCKER_IMAGE_TAG="default"
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_TAG="transaction-metrics-exporter-f4a55e143932ea559cf4bcbd9bcccc14da43d6ed"
# Genesis Vars
NETWORK_ID=44787
CONSENSUS_TYPE="istanbul"
BLOCK_TIME=5
# Epoch length is 1 day
EPOCH=17280
LOOKBACK=12
ISTANBUL_REQUEST_TIMEOUT_MS=10000
# the number of load test clients that will be given funds in the genesis & migrations
LOAD_TEST_CLIENTS=20
# every 7.2 seconds, so that 500 transactions are sent by a client every hour
# to simulate 10,000 total transactions per hour
LOAD_TEST_TX_DELAY_MS=7200
# the amount in cUSD wei to give faucet, load test, and attestation bot accounts
FAUCET_CUSD_WEI=60000000000000000000000
VALIDATORS=10
VALIDATOR_PROXY_COUNTS=10:0
TX_NODES=4
# Nodes whose RPC ports are only internally exposed
PRIVATE_TX_NODES=2
STATIC_IPS_FOR_GETH_NODES=true
# Whether tx_nodes/validators stateful set should use ssd persistent disks
GETH_NODES_SSD_DISKS=true
# Used for validators, proxies, and tx_nodes
NODE_DISK_SIZE_GB=30
# Used for private tx_nodes (gcmode archive)
PRIVATE_NODE_DISK_SIZE_GB=80
IN_MEMORY_DISCOVERY_TABLE=true
PING_IP_FROM_PACKET=true
# Testnet vars
CLUSTER_CREATION_FLAGS="--enable-autoscaling --min-nodes 3 --max-nodes 8 --machine-type=n1-standard-4"
GETH_NODE_CPU_REQUEST=2
GETH_NODE_MEMORY_REQUEST=4Gi
VERIFICATION_POOL_URL="https://us-central1-celo-testnet-production.cloudfunctions.net/handleVerificationRequestalfajores/v0.1/sms/"
VERIFICATION_REWARDS_URL="https://us-central1-celo-testnet-production.cloudfunctions.net/handleVerificationRequestalfajores/v0.1/rewards/"
MOBILE_WALLET_PLAYSTORE_LINK="https://play.google.com/apps/internaltest/4700990475000634666"
# each context should have its own environment variables, generally of the form
# <context in all caps and underscores>_*
CONTEXTS=azure-oracle-centralus,azure-odis-eastus-1,azure-odis-eastus-2,azure-odis-eastus-3
# --- ODIS ---
# ODIS azure k8s deployments
ODIS_SIGNER_DOCKER_IMAGE_REPOSITORY=us.gcr.io/celo-testnet/celo-monorepo
ODIS_SIGNER_DOCKER_IMAGE_TAG=oblivious-decentralized-identifier-service-1.1.10
ODIS_SIGNER_BLOCKCHAIN_PROVIDER=https://alfajores-forno.celo-testnet.org
# Options: json, human (default), stackdriver
LOG_FORMAT=stackdriver
# Options: fatal, error, warn, info (default), debug, trace
LOG_LEVEL=info
# ODIS signer 1 Azure info
AZURE_ODIS_EASTUS_1_AZURE_SUBSCRIPTION_ID=97e2b592-255b-4f92-bce0-127257163c36
AZURE_ODIS_EASTUS_1_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ODIS_EASTUS_1_AZURE_REGION_NAME=eaus
# ODIS signer 1 K8S cluster info
AZURE_ODIS_EASTUS_1_AZURE_KUBERNETES_RESOURCE_GROUP=pgpnp-alfajores
AZURE_ODIS_EASTUS_1_KUBERNETES_CLUSTER_NAME=odis-alfajores-signer-1-a-v2
# ODIS signer 1 Postgres DB
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_DB_HOST=pgpnp-alfajores-db1v2.postgres.database.azure.com
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_DB_PORT=5432
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_DB_USERNAME=cLabs@pgpnp-alfajores-db1v2
# ODIS signer 1 Key Vault
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_AZURE_KEYVAULT_NAME=pgpnp-alfajores-kv1
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_AZURE_KEYVAULT_PNP_KEY_NAME_BASE=phoneNumberPrivacy
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_AZURE_KEYVAULT_PNP_KEY_LATEST_VERSION=1
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_AZURE_KEYVAULT_DOMAINS_KEY_NAME_BASE=domains
AZURE_ODIS_EASTUS_1_ODIS_SIGNER_AZURE_KEYVAULT_DOMAINS_KEY_LATEST_VERSION=1
# ODIS signer 1 Network
AZURE_ODIS_EASTUS_1_ODIS_NETWORK=alfajores
# ODIS signer 1 Prometheus config
AZURE_ODIS_EASTUS_1_PROM_SCRAPE_JOB_NAME=scrape-odis
AZURE_ODIS_EASTUS_1_PROM_SCRAPE_LABELS="_generic_location: us-central1,_generic_namespace: odis-signer"
AZURE_ODIS_EASTUS_1_PROM_SCRAPE_TARGETS="odis-alfajores-signer-1-a-v2.alfajores:3000"
AZURE_ODIS_EASTUS_1_PROM_SIDECAR_GCP_PROJECT=celo-phone-number-privacy
AZURE_ODIS_EASTUS_1_PROM_SIDECAR_GCP_REGION=us-east1
AZURE_ODIS_EASTUS_1_PROM_SIDECAR_DISABLED="true"
# ODIS signer 2 Azure info
AZURE_ODIS_EASTUS_2_AZURE_SUBSCRIPTION_ID=97e2b592-255b-4f92-bce0-127257163c36
AZURE_ODIS_EASTUS_2_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ODIS_EASTUS_2_AZURE_REGION_NAME=eaus
# ODIS signer 2 K8S cluster info
AZURE_ODIS_EASTUS_2_AZURE_KUBERNETES_RESOURCE_GROUP=pgpnp-alfajores
AZURE_ODIS_EASTUS_2_KUBERNETES_CLUSTER_NAME=odis-alfajores-signer-2-b-v2
# ODIS signer 2 Postgres DB
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_DB_HOST=pgpnp-alfajores-db2v2.postgres.database.azure.com
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_DB_PORT=5432
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_DB_USERNAME=clabs@pgpnp-alfajores-db2v2
# ODIS signer 2 Key Vault
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_AZURE_KEYVAULT_NAME=pgpnp-alfajores-kv2
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_AZURE_KEYVAULT_PNP_KEY_NAME_BASE=phoneNumberPrivacy
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_AZURE_KEYVAULT_PNP_KEY_LATEST_VERSION=1
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_AZURE_KEYVAULT_DOMAINS_KEY_NAME_BASE=domains
AZURE_ODIS_EASTUS_2_ODIS_SIGNER_AZURE_KEYVAULT_DOMAINS_KEY_LATEST_VERSION=1
# ODIS signer 2 Network
AZURE_ODIS_EASTUS_2_ODIS_NETWORK=alfajores
# ODIS signer 2 Prometheus config
AZURE_ODIS_EASTUS_2_PROM_SCRAPE_JOB_NAME=scrape-odis
AZURE_ODIS_EASTUS_2_PROM_SCRAPE_LABELS="_generic_location: us-central1,_generic_namespace: odis-signer"
AZURE_ODIS_EASTUS_2_PROM_SCRAPE_TARGETS="odis-alfajores-signer-2-b-v2.alfajores:3000"
AZURE_ODIS_EASTUS_2_PROM_SIDECAR_GCP_PROJECT=celo-phone-number-privacy
AZURE_ODIS_EASTUS_2_PROM_SIDECAR_GCP_REGION=us-east1
AZURE_ODIS_EASTUS_2_PROM_SIDECAR_DISABLED="true"
# ODIS signer 3 Azure info
AZURE_ODIS_EASTUS_3_AZURE_SUBSCRIPTION_ID=97e2b592-255b-4f92-bce0-127257163c36
AZURE_ODIS_EASTUS_3_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ODIS_EASTUS_3_AZURE_REGION_NAME=eaus
# ODIS signer 3 K8S cluster info
AZURE_ODIS_EASTUS_3_AZURE_KUBERNETES_RESOURCE_GROUP=pgpnp-alfajores
AZURE_ODIS_EASTUS_3_KUBERNETES_CLUSTER_NAME=odis-alfajores-signer-3-a-v2
# ODIS signer 3 Postgres DB
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_DB_HOST=pgpnp-alfajores-db3v2.postgres.database.azure.com
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_DB_PORT=5432
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_DB_USERNAME=cLabs@pgpnp-alfajores-db3v2
# ODIS signer 3 Key Vault
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_AZURE_KEYVAULT_NAME=pgpnp-alfajores-kv3
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_AZURE_KEYVAULT_PNP_KEY_NAME_BASE=phoneNumberPrivacy
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_AZURE_KEYVAULT_PNP_KEY_LATEST_VERSION=1
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_AZURE_KEYVAULT_DOMAINS_SECRET_NAME=domains
AZURE_ODIS_EASTUS_3_ODIS_SIGNER_AZURE_KEYVAULT_DOMAINS_KEY_LATEST_VERSION=1
# ODIS signer 3 Network
AZURE_ODIS_EASTUS_3_ODIS_NETWORK=alfajores
# ODIS signer 3 Prometheus config
AZURE_ODIS_EASTUS_3_PROM_SCRAPE_JOB_NAME=scrape-odis
AZURE_ODIS_EASTUS_3_PROM_SCRAPE_LABELS="_generic_location: us-central1,_generic_namespace: odis-signer"
AZURE_ODIS_EASTUS_3_PROM_SCRAPE_TARGETS="odis-alfajores-signer-3-a-v2.alfajores:3000"
AZURE_ODIS_EASTUS_3_PROM_SIDECAR_GCP_PROJECT=celo-phone-number-privacy
AZURE_ODIS_EASTUS_3_PROM_SIDECAR_GCP_REGION=us-east1
AZURE_ODIS_EASTUS_3_PROM_SIDECAR_DISABLED="true"
# For WalletConnect relay
WALLET_CONNECT_IMAGE_REPOSITORY = 'us.gcr.io/celo-testnet/walletconnect'
WALLET_CONNECT_IMAGE_TAG = '1472bcaad57e3746498f7a661c42ff5cf9acaf5a'
WALLET_CONNECT_REDIS_CLUSTER_ENABLED = false
WALLET_CONNECT_REDIS_CLUSTER_USEPASSWORD = false