Skip to content

build: add docker-compose.yml and build-image just target#1008

Open
RembrandtK wants to merge 2 commits intomain-dipsfrom
local-image-build
Open

build: add docker-compose.yml and build-image just target#1008
RembrandtK wants to merge 2 commits intomain-dipsfrom
local-image-build

Conversation

@RembrandtK
Copy link
Copy Markdown

Enables local image builds via just build-image, producing ghcr.io/graphprotocol/indexer-service-rs:local and ghcr.io/graphprotocol/indexer-tap-agent:local from the existing per-crate Dockerfiles. Lets downstream consumers (local-network) consume this repo as image tags instead of source clones.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a simple local Docker Compose build workflow so downstream projects can consume locally built image tags (instead of cloning this repo as a dependency).

Changes:

  • Add a root docker-compose.yml that builds the existing per-crate Dockerfiles and tags images with ${TAG:-local}.
  • Add a just build-image target that runs docker compose build to build both images.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
justfile Adds a build-image recipe to build local images via Docker Compose.
docker-compose.yml Defines two buildable services (indexer-service-rs, indexer-tap-agent) with default local tag support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread justfile Outdated
Comment thread justfile
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 14, 2026

Coverage Report for CI Build 24407424048

Warning

No base build found for commit 41feb8c on main-dips.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 71.448%

Details

  • Patch coverage: No coverable lines changed in this PR.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 15127
Covered Lines: 10808
Line Coverage: 71.45%
Coverage Strength: 112.75 hits per line

💛 - Coveralls

Enables local image builds via `just build-image`, producing
ghcr.io/graphprotocol/indexer-service-rs:local and
ghcr.io/graphprotocol/indexer-tap-agent:local from the existing
per-crate Dockerfiles. Lets downstream consumers (local-network)
consume this repo as image tags instead of source clones.
@RembrandtK RembrandtK requested a review from Maikol April 14, 2026 15:40
@MoonBoi9001 MoonBoi9001 added the DIPs Decentralized Indexing Payments label Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DIPs Decentralized Indexing Payments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants