incorporate firehose into the monorepo

This commit is contained in:
Sebastian
2023-07-20 15:54:54 +02:00
parent 84adad7cfd
commit 2f28084d9c
4 changed files with 187 additions and 0 deletions

View File

@@ -0,0 +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 chmod +x /usr/bin/geth
ENTRYPOINT ["fireeth"]

View File

@@ -0,0 +1,23 @@
start:
args:
- merger
- firehose
- reader-node
- relayer
- combined-index-builder
flags:
data-dir: /var/lib/firehose
common-chain-id: "1"
common-network-id: "1"
reader-node-path: /usr/bin/geth
substreams-rpc-endpoints: $ETHEREUM_ARCHIVE_RPC
substreams-enabled: true
substreams-request-stats-enabled: true
reader-node-arguments: "--mainnet --datadir=/var/lib/geth
--ipcpath=/var/lib/firehose/reader/ipc
--http --http.api=eth,net,web3
--authrpc.jwtsecret=/jwtsecret
--authrpc.addr=0.0.0.0
--authrpc.vhosts=*
--http.port=8545 --http.addr=0.0.0.0 --http.vhosts=*
--firehose-enabled --port=24465 --cache=2048"