Skip to content

Build mcp-resource from source in Docker Compose examples#1

Merged
kjdev merged 2 commits into
mainfrom
refactor/examples
Jun 10, 2026
Merged

Build mcp-resource from source in Docker Compose examples#1
kjdev merged 2 commits into
mainfrom
refactor/examples

Conversation

@kjdev

@kjdev kjdev commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Documentation

    • Updated Getting Started guide to simplify quickstart instructions for the Keycloak stack example.
  • Build Configuration

    • Updated Docker Compose examples to build services from local source code instead of using prebuilt images, with build instructions updated to include the --build flag.

kjdev added 2 commits June 10, 2026 12:21
…-built tag

Switch compose services from referencing nginx-mcp-resource:dev to a
build: section so the examples run without a separate docker build step,
and update the run commands to use 'up --build'.
Match the quickstart to the compose change: drop the separate docker
build step and start the stack with 'up --build'.
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR converts Docker Compose examples from using prebuilt nginx-mcp-resource:dev images to building locally from the repository Dockerfile. Run instructions are updated to include --build, and the getting started documentation reflects the unified build entry point through compose.

Changes

Local Build Configuration

Layer / File(s) Summary
Convert Compose examples to local builds
docs/GETTING_STARTED.md, examples/compose.introspect.yml, examples/compose.jwt.yml, examples/keycloak-quickstart/compose.yml, examples/self-jwt/compose.yml
All Docker Compose example files replace image: nginx-mcp-resource:dev with build sections pointing to ../ or ../../ context and local ./Dockerfile, with run instructions updated to include --build. Getting started documentation is updated to show docker compose ... up -d --wait --build as the single entry point.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 From prebuilt images old and gray,
We build fresh locally each day,
With --build flags now in place,
Compose rebuilds at quickened pace,
No more tags to chase away!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately summarizes the primary change: updating Docker Compose examples to build mcp-resource from source instead of using prebuilt images.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/examples

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kjdev kjdev changed the title Refactor examples Build mcp-resource from source in Docker Compose examples Jun 10, 2026
@kjdev kjdev merged commit f5b6626 into main Jun 10, 2026
2 checks passed
@kjdev kjdev deleted the refactor/examples branch June 10, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant