feat: add self-hosted Firehose profile to docker-compose#909
Open
kayibal wants to merge 1 commit into
Open
Conversation
Consolidates the standalone docker-compose.firehose.yaml into the main compose file as an opt-in `substreams-endpoint` profile, enabling a fully self-hosted EVM indexing stack without a StreamingFast/Pinax hosted endpoint. Changes: - Add `substreams-endpoint` profile: single-container Firehose stack (reader-node-stdin, merger, relayer, firehose, tier1, tier2) backed by any EVM JSON-RPC endpoint via `fireeth tools poller generic-evm` - Auto-resume on restart: poller starts from the highest stored one-block file, avoiding re-fetching already-fetched blocks - Add `observability` profile for lgtm/promtail (opt-in, was always-on) - Fix tycho-indexer healthcheck: use bash /dev/tcp instead of curl (curl is not present in the image) - Fix OTLP default: empty string disables exporter when lgtm is not running - Make SUBSTREAMS_ENDPOINT, CHAINS, and RETENTION_HORIZON configurable via env vars; remove hardcoded Ethereum defaults from the command - Remove chain-specific extractors-tempo.yaml volume mount - Delete docker-compose.firehose.yaml (superseded by the profile) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
To run Claude review, comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
substreams-endpointopt-in profile todocker-compose.yaml: a single-container Firehose stack (reader-node-stdin, merger, relayer, firehose, substreams-tier1, substreams-tier2) backed by any EVM JSON-RPC node viafireeth tools poller generic-evmobservabilityprofile (was always-on)bash /dev/tcp(curl is not installed in the image)SUBSTREAMS_ENDPOINT,CHAINS, andRETENTION_HORIZONconfigurable via env vars; removes hardcoded Ethereum/date defaultsextractors-tempo.yamlvolume mountdocker-compose.firehose.yaml(superseded by the new profile)Tracked in ENG-5744.
Test plan
docker compose --profile substreams-endpoint upstarts all services healthysubstreams-endpointresumes poller from last stored block (not START_BLOCK)tycho-indexerresumes from cursordocker compose down+up(without-v) resumes both correctlydocker compose up(without profile) starts only db + tycho-indexer (lgtm/promtail not started)🤖 Generated with Claude Code