let the fire burning
This commit is contained in:
@@ -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"]
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user