homecoming

This commit is contained in:
root
2025-03-18 07:18:19 +02:00
parent 33975e7a6e
commit 2eaa8f99e4
41 changed files with 988 additions and 474 deletions

View File

@@ -0,0 +1,18 @@
FROM ubuntu:24.04
# Install required tools
RUN apt-get update && apt-get install -y wget curl jq tar
# Set environment variables for URLs
ARG FIREHOSE_ETHEREUM
ARG FIREHOSE_GETH_VERSION
# Download and extract the latest firehose-ethereum
RUN wget -O- https://github.com/streamingfast/firehose-ethereum/releases/download/${FIREHOSE_ETHEREUM}/firehose-ethereum_linux_x86_64.tar.gz | tar xvz -C /usr/bin
# Download the latest go-ethereum (geth)
RUN wget https://github.com/streamingfast/go-ethereum/releases/download/geth-${FIREHOSE_GETH_VERSION}/geth_linux -O /usr/bin/geth && chmod +x /usr/bin/geth
ENTRYPOINT ["fireeth"]

View File

@@ -0,0 +1,38 @@
start:
args:
- firehose
- reader-node
- merger
- relayer
- index-builder
- substreams-tier1
- substreams-tier2
flags:
data-dir: /var/lib/firehose
log-to-file: false
firehose-rate-limit-bucket-size: 200
firehose-rate-limit-bucket-fill-rate: 1s
substreams-rpc-endpoints: "http://ethereum-erigon3:8545"
substreams-tier1-max-subrequests: 20
substreams-block-execution-timeout: 30m0s
reader-node-path: /usr/bin/geth
common-merged-blocks-store-url: /var/lib/eth-blocks
reader-node-arguments: |
--datadir=/var/lib/firehose/eth-firehose
--networkid=1
--http
--http.api=eth,net,web3
--http.port=8545
--http.addr=0.0.0.0
--http.vhosts=*
--ws
--ws.addr=0.0.0.0
--ws.port=9756
--metrics
--metrics.addr=0.0.0.0
--metrics.port=7070
--cache=8192
--authrpc.jwtsecret=/jwtsecret
--authrpc.addr=0.0.0.0
--authrpc.vhosts=*
--authrpc.port=9663