From d00c7a5d6554fb12ab79454c29c0e21e3c3f4caf Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sat, 2 Sep 2023 07:23:28 +0200 Subject: [PATCH] let the fire burning --- firehose-mainnet/Dockerfile | 4 ++-- firehose-mainnet/config.yml | 3 +++ firehose.yml | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/firehose-mainnet/Dockerfile b/firehose-mainnet/Dockerfile index 7c0a5941..64b45a63 100644 --- a/firehose-mainnet/Dockerfile +++ b/firehose-mainnet/Dockerfile @@ -1,7 +1,7 @@ FROM debian RUN apt-get update && apt-get install -y wget -RUN wget -O- https://github.com/streamingfast/firehose-ethereum/releases/download/v1.4.4/firehose-ethereum_linux_x86_64.tar.gz | tar xvz -C /usr/bin -RUN wget https://github.com/streamingfast/go-ethereum/releases/download/geth-v1.12.0-fh2.2/geth_linux -O /usr/bin/geth +RUN wget -O- https://github.com/streamingfast/firehose-ethereum/releases/download/v1.4.13/firehose-ethereum_linux_x86_64.tar.gz | tar xvz -C /usr/bin +RUN wget https://github.com/streamingfast/go-ethereum/releases/download/geth-v1.12.1-fh2.3/geth_linux -O /usr/bin/geth RUN chmod +x /usr/bin/geth ENTRYPOINT ["fireeth"] \ No newline at end of file diff --git a/firehose-mainnet/config.yml b/firehose-mainnet/config.yml index f1f7302e..aa67d54c 100644 --- a/firehose-mainnet/config.yml +++ b/firehose-mainnet/config.yml @@ -7,11 +7,14 @@ start: - combined-index-builder flags: data-dir: /var/lib/firehose + log-to-file: false + reader-node-log-to-zap: false common-chain-id: "1" common-network-id: "1" reader-node-path: /usr/bin/geth substreams-rpc-endpoints: $ETHEREUM_ARCHIVE_RPC substreams-enabled: true + common-merged-blocks-store-url: $S3_BLOCKS_STORE_URL substreams-request-stats-enabled: true reader-node-arguments: "--mainnet --datadir=/var/lib/geth --ipcpath=/var/lib/firehose/reader/ipc diff --git a/firehose.yml b/firehose.yml index 93b4410e..de077e03 100644 --- a/firehose.yml +++ b/firehose.yml @@ -57,7 +57,8 @@ services: context: ./firehose-mainnet/ command: -c /etc/firehose/config.yml start environment: - - "ETHEREUM_ARCHIVE_RPC=http://erigon-mainnet:8545" + - "ETHEREUM_ARCHIVE_RPC=${FIREHOSE_ETHEREUM_ARCHIVE_RPC:-https://rpc-fi-1.stakesquid.eu/erigon}" + - "S3_BLOCKS_STORE_URL=${FIREHOSE_S3_BLOCKS_STORE_URL:-s3://162.55.135.148:8333/eth-blocks?insecure=true}" expose: - 8545 # geth rpc - 8551 # consensus client @@ -65,7 +66,7 @@ services: ports: - "24465:24465" - "24465:24465/udp" - #- "13042:13042" + - "13042:13042" labels: - "traefik.enable=true" - "traefik.http.services.firehose-mainnet.loadbalancer.server.scheme=h2c"