incorporate firehose into the monorepo
This commit is contained in:
7
firehose-mainnet/Dockerfile
Normal file
7
firehose-mainnet/Dockerfile
Normal 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"]
|
||||
23
firehose-mainnet/config.yml
Normal file
23
firehose-mainnet/config.yml
Normal 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"
|
||||
Reference in New Issue
Block a user