Skip to content

Commit 195732f

Browse files
remove postgres and use rds instead
1 parent e7656f0 commit 195732f

File tree

3 files changed

+44
-19
lines changed

3 files changed

+44
-19
lines changed

charts/blockscout/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Kubernetes: `>=1.22.0-0`
7676
| postgresql.auth.password | string | `"qwerty12345"` | |
7777
| postgresql.auth.postgresPassword | string | `"admin"` | |
7878
| postgresql.auth.username | string | `"blockscout"` | |
79-
| postgresql.enabled | bool | `true` | |
79+
| postgresql.enabled | bool | `false` | |
8080
| postgresql.primary.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key | string | `"NodePool"` | |
8181
| postgresql.primary.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operator | string | `"In"` | |
8282
| postgresql.primary.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0] | string | `"default"` | |

charts/blockscout/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ blockscout-stack:
9292
hostname: blockscout.scrollsdk
9393

9494
postgresql:
95-
enabled: true
95+
enabled: false
9696
volumePermissions:
9797
enabled: true
9898
auth:
Lines changed: 42 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
blockscout-stack:
22
blockscout:
3+
livenessProbe:
4+
enabled: false
5+
readinessProbe:
6+
enabled: false
37
env:
48
ETHEREUM_JSONRPC_HTTP_URL: "https://eth-mainnet.g.alchemy.com/v2/uFWDEQJgyTiUYSbbIQlbf"
59
ETHEREUM_JSONRPC_TRACE_URL: "https://eth-mainnet.g.alchemy.com/v2/uFWDEQJgyTiUYSbbIQlbf"
610
ETHEREUM_JSONRPC_VARIANT: geth
711
ETHEREUM_JSONRPC_WS_URL: ws://l2-rpc:8546
8-
INDEXER_SCROLL_L1_RPC: "http://l2-kevin-chang-1.devnet.scroll.tech:8545"
12+
913
BLOCK_TRANSFORMER: clique
1014
INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: true
1115
CHAIN_TYPE: scroll
12-
INDEXER_SCROLL_L1_CHAIN_CONTRACT: 0xa13BAF47339d63B743e7Da8741db5456DAc1E556
13-
INDEXER_SCROLL_L1_BATCH_START_BLOCK: 18306934
16+
INDEXER_SCROLL_L1_RPC: "https://scroll-mainnet.g.alchemy.com/v2/RZKMcETAP_v-2jgUemxLz2gL2Zl9YJEf"
1417
INDEXER_SCROLL_L1_MESSENGER_CONTRACT: 0x6774Bcbd5ceCeF1336b5300fb5186a12DDD8b367
1518
INDEXER_SCROLL_L1_MESSENGER_START_BLOCK: 18306934
19+
INDEXER_SCROLL_L1_CHAIN_CONTRACT: 0xa13BAF47339d63B743e7Da8741db5456DAc1E556
20+
INDEXER_SCROLL_L1_BATCH_START_BLOCK: 18306934
21+
INDEXER_SCROLL_L1_BATCH_BLOCKSCOUT_BLOBS_API_URL: ""
1622
INDEXER_SCROLL_L2_MESSENGER_CONTRACT: 0x781e90f1c8Fc4611c9b7497C3B47F99Ef6969CbC
1723
INDEXER_SCROLL_L2_MESSENGER_START_BLOCK: 0
1824
INDEXER_SCROLL_L2_GAS_ORACLE_CONTRACT: 0x5300000000000000000000000000000000000002
@@ -21,31 +27,50 @@ blockscout-stack:
2127
SCROLL_L2_CURIE_UPGRADE_BLOCK: 7096836
2228
ECTO_USE_SSL: false
2329
ETHEREUM_JSONRPC_HTTP_INSECURE: false
24-
DATABASE_URL: "postgresql://postgres:admin@blockscout-postgresql:5432/blockscout?sslmode=disable"
30+
DATABASE_URL: "postgresql://postgres:Dcmc7zn3TWnjaKz577IOAljTaoct7t3W@rds-test-blockscout-devnet.cybrrfa1furu.us-west-2.rds.amazonaws.com:5432/blockscout-seb?sslmode=enable"
31+
32+
# INDEXER_SCROLL_L1_RPC=
33+
# INDEXER_SCROLL_L1_MESSENGER_CONTRACT=
34+
# INDEXER_SCROLL_L1_MESSENGER_START_BLOCK=
35+
# INDEXER_SCROLL_L1_CHAIN_CONTRACT=
36+
# INDEXER_SCROLL_L1_BATCH_START_BLOCK=
37+
# INDEXER_SCROLL_L1_BATCH_BLOCKSCOUT_BLOBS_API_URL=
38+
# INDEXER_SCROLL_L2_MESSENGER_CONTRACT=
39+
# INDEXER_SCROLL_L2_MESSENGER_START_BLOCK=
40+
# INDEXER_SCROLL_L2_GAS_ORACLE_CONTRACT=
41+
# INDEXER_SCROLL_L1_ETH_GET_LOGS_RANGE_SIZE=
42+
# INDEXER_SCROLL_L2_ETH_GET_LOGS_RANGE_SIZE=
43+
# SCROLL_L2_CURIE_UPGRADE_BLOCK=
44+
# SCROLL_L1_SCALAR_INIT=
45+
# SCROLL_L1_OVERHEAD_INIT=
46+
# SCROLL_L1_COMMIT_SCALAR_INIT=
47+
# SCROLL_L1_BLOB_SCALAR_INIT=
48+
# SCROLL_L1_BASE_FEE_INIT=
49+
# SCROLL_L1_BLOB_BASE_FEE_INIT=
2550

2651
# envFrom:
2752
# - secretRef:
2853
# name: blockscout-secret-env
2954

3055
ingress:
3156
enabled: true
32-
className: ""
57+
className: "nginx"
3358
annotations: # Add annotations here. Might be necessary to allow CORS from updated-gas-oracle. Example below
3459
cert-manager.io/cluster-issuer: letsencrypt-prod
3560
nginx.ingress.kubernetes.io/enable-cors: "true"
36-
# nginx.ingress.kubernetes.io/cors-allow-origin: "blockscout.devnet.scroll.tech"
37-
# nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization"
38-
# nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
39-
# nginx.ingress.kubernetes.io/cors-max-age: "86400"
40-
hostname: "blockscout-backend.devnet.scroll.tech"
61+
nginx.ingress.kubernetes.io/cors-allow-origin: "https://blockscout.devnet.aws.scroll.io"
62+
nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization"
63+
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
64+
nginx.ingress.kubernetes.io/cors-max-age: "86400"
65+
hostname: "blockscout-backend.devnet.aws.scroll.io"
4166
tls:
4267
enabled: true
4368
secretName: blockscout-tls # Set here the name of the secret. Example : blockscout.scrollsdk
4469

4570
frontend:
4671
env:
47-
NEXT_PUBLIC_API_HOST: "blockscout.devnet.aws.scroll.tech"
48-
NEXT_PUBLIC_APP_HOST: "blockscout.devnet.aws.scroll.tech"
72+
NEXT_PUBLIC_API_HOST: "blockscout-backend.devnet.aws.scroll.io" # Backend URL
73+
NEXT_PUBLIC_APP_HOST: "blockscout.devnet.aws.scroll.io"
4974
NEXT_PUBLIC_API_PROTOCOL: https
5075
NEXT_PUBLIC_APP_PROTOCOL: https
5176
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
@@ -56,11 +81,11 @@ blockscout-stack:
5681
annotations: # Add annotations here. Might be necessary to allow CORS from updated-gas-oracle. Example below
5782
cert-manager.io/cluster-issuer: letsencrypt-prod
5883
nginx.ingress.kubernetes.io/enable-cors: "true"
59-
# nginx.ingress.kubernetes.io/cors-allow-origin: "blockscout.devnet.scroll.tech"
60-
# nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization"
61-
# nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
62-
# nginx.ingress.kubernetes.io/cors-max-age: "86400"
63-
hostname: "blockscout.devnet.aws.scroll.tech"
84+
nginx.ingress.kubernetes.io/cors-allow-origin: "https://blockscout.devnet.aws.scroll.io"
85+
nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization"
86+
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
87+
nginx.ingress.kubernetes.io/cors-max-age: "86400"
88+
hostname: "blockscout.devnet.aws.scroll.io"
6489
tls:
6590
enabled: true
6691
secretName: blockscout-front-tls # Set here the hostname for the ingress. Example : blockscout.scrollsdk

0 commit comments

Comments
 (0)