|
1 | | -envFrom: |
2 | | - - secretRef: |
3 | | - name: blockscout-secret-env |
| 1 | +blockscout-stack: |
| 2 | + blockscout: |
4 | 3 |
|
5 | | -persistence: |
6 | | - env: |
7 | | - enabled: true |
8 | | - type: secret |
9 | | - mountPath: /config/ |
10 | | - name: blockscout-secret-env |
| 4 | + env: |
| 5 | + ETHEREUM_JSONRPC_HTTP_URL: http://l2-rpc:8545 |
| 6 | + ETHEREUM_JSONRPC_TRACE_URL: http://l2-rpc:8545 |
| 7 | + ETHEREUM_JSONRPC_VARIANT: geth |
| 8 | + ETHEREUM_JSONRPC_WS_URL: ws://l2-rpc:8546 |
| 9 | + BLOCK_TRANSFORMER: clique |
| 10 | + INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: true |
| 11 | + CHAIN_TYPE: scroll |
| 12 | + INDEXER_SCROLL_L1_CHAIN_CONTRACT: "" # value of L1_SCROLL_CHAIN_PROXY_ADDR on config-contracts.toml |
| 13 | + INDEXER_SCROLL_L1_BATCH_START_BLOCK: "" # value of L1_CONTRACT_DEPLOYMENT_BLOCK on config.toml |
| 14 | + INDEXER_SCROLL_L1_MESSENGER_CONTRACT: "" # value of L1_SCROLL_MESSENGER_PROXY_ADDR on config-contracts.toml |
| 15 | + INDEXER_SCROLL_L1_MESSENGER_START_BLOCK: "" # value of L1_CONTRACT_DEPLOYMENT_BLOCK on config.toml |
| 16 | + INDEXER_SCROLL_L2_MESSENGER_CONTRACT: "" # value of L2_SCROLL_MESSENGER_PROXY_ADDR on config-contracts.toml |
| 17 | + INDEXER_SCROLL_L2_GAS_ORACLE_CONTRACT: "" # value of L1_GAS_PRICE_ORACLE_PROXY_ADDR on config-contracts.toml |
| 18 | + INDEXER_SCROLL_L1_RPC: "" |
| 19 | + INDEXER_SCROLL_L2_MESSENGER_START_BLOCK: 0 |
| 20 | + INDEXER_SCROLL_L1_ETH_GET_LOGS_RANGE_SIZE: 500 |
| 21 | + INDEXER_SCROLL_L2_ETH_GET_LOGS_RANGE_SIZE: 500 |
| 22 | + SCROLL_L2_CURIE_UPGRADE_BLOCK: 0 |
| 23 | + ECTO_USE_SSL: true |
| 24 | + ETHEREUM_JSONRPC_HTTP_INSECURE: false |
11 | 25 |
|
12 | | -initContainers: |
13 | | - 1-migrate-db: |
14 | | - image: blockscout/blockscout:6.6.0 |
15 | | - command: ["/bin/sh", "-c", "/app/bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\""] |
16 | 26 | envFrom: |
17 | 27 | - secretRef: |
18 | 28 | name: blockscout-secret-env |
19 | 29 |
|
20 | | -configMaps: |
21 | | - env: |
22 | | - enabled: true |
23 | | - data: |
24 | | - PG_HOST: "postgresql-blockscout" |
25 | | - PG_PORT: "5432" |
| 30 | + extraEnv: |
| 31 | + - name: DATABASE_URL |
| 32 | + valueFrom: |
| 33 | + secretKeyRef: |
| 34 | + name: blockscout-secret-env |
| 35 | + key: DATABASE_URL |
| 36 | + |
| 37 | + ingress: |
| 38 | + enabled: true |
| 39 | + className: "" |
| 40 | + annotations: # Add annotations here. Might be necessary to allow CORS from updated-gas-oracle. Example below |
| 41 | + # cert-manager.io/cluster-issuer: letsencrypt-prod |
| 42 | + # nginx.ingress.kubernetes.io/enable-cors: "true" |
| 43 | + # nginx.ingress.kubernetes.io/cors-allow-origin: "https://blockscout.scrollsdk" |
| 44 | + # nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization" |
| 45 | + # nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS" |
| 46 | + # nginx.ingress.kubernetes.io/cors-max-age: "86400" |
| 47 | + hostname: "blockscout-backend.hsk.scroll.systems" |
| 48 | + tls: |
| 49 | + enabled: true |
| 50 | + secretName: blockscout-tls # Set here the name of the secret. Example : blockscout-backend.scrollsdk |
| 51 | + |
| 52 | + frontend: |
| 53 | + env: |
| 54 | + NEXT_PUBLIC_API_PROTOCOL: https |
| 55 | + NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss |
| 56 | + NEXT_PUBLIC_API_HOST: "" # Backend host, example "blockscout-backend.scrollsdk" |
| 57 | + NEXT_PUBLIC_APP_HOST: "" # Backend host, example "blockscout-backend.scrollsdk" |
| 58 | + NEXT_PUBLIC_APP_PROTOCOL: https |
26 | 59 |
|
27 | | -ingress: |
28 | | - main: |
29 | | - ingressClassName: "nginx" |
30 | | - hosts: |
31 | | - - host: "" |
32 | | - paths: |
33 | | - - path: / |
34 | | - pathType: Prefix |
| 60 | + ingress: |
| 61 | + enabled: true |
| 62 | + ingressClassName: "" # Set here your ingressClassName |
| 63 | + annotations: # Add annotations here. Might be necessary to allow CORS from updated-gas-oracle. Example below |
| 64 | + # cert-manager.io/cluster-issuer: letsencrypt-prod |
| 65 | + # nginx.ingress.kubernetes.io/enable-cors: "true" |
| 66 | + # nginx.ingress.kubernetes.io/cors-allow-origin: "https://blockscout.scrollsdk" |
| 67 | + # nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization" |
| 68 | + # nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS" |
| 69 | + # nginx.ingress.kubernetes.io/cors-max-age: "86400" |
| 70 | + hostname: "" # Set the hostname for the frontend. Example : blockscout.scrollsdk |
| 71 | + tls: |
| 72 | + enabled: true |
| 73 | + secretName: blockscout-front-tls # Set here the hostname for the ingress. Example : blockscout.scrollsdk |
35 | 74 |
|
36 | 75 | externalSecrets: |
37 | 76 | blockscout-secret-env: |
|
0 commit comments