Rewrite all four docker-compose pages as reference wrappers (Rosetta pattern)#1175
Open
dkijania wants to merge 2 commits into
Open
Rewrite all four docker-compose pages as reference wrappers (Rosetta pattern)#1175dkijania wants to merge 2 commits into
dkijania wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ab08196 to
820c0e3
Compare
Follow the pattern established by the Rosetta docker-compose page: - Use .env file for all configuration (images, network, ports, passwords) - Add health checks to daemon services - Add libp2p key generation to block producer - Add data persistence and services overview tables - Add verification and clean start sections - Remove hardcoded image versions from docker-compose.yml Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
56f1955 to
ba61862
Compare
Replaces inline docker-compose YAML in the four node-operator pages (block-producer-node, archive-node, snark-workers, seed-peers) with narrative wrappers that link to canonical recipes maintained in MinaProtocol/mina, mirroring the existing pattern in docs/exchange-operators/rosetta/docker-compose.mdx. The canonical recipes live in MinaProtocol/mina#18827: - src/app/cli/docker-compose/block-producer/ - src/app/cli/docker-compose/snark-worker/ - src/app/cli/docker-compose/seed-peer/ - src/app/archive/docker-compose/ Each page now follows the Rosetta section order: Quick start / Services overview / Configuration tables / Data persistence / Make targets / Verifying the deployment / Clean start. Eliminates the inline-YAML drift problem — image tags, image names, and daemon flags now live in one place (the mina repo) instead of being maintained in parallel across docs2 mdx files. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
glyh
reviewed
May 7, 2026
| title: Docker Compose Seed Peers | ||
| sidebar_label: Docker Compose example | ||
| description: Example of how to run a Mina Seed node using Docker Compose. | ||
| description: Run a Mina Seed node using Docker Compose. |
Member
There was a problem hiding this comment.
BTW, I'm curious on the value of actually running a seed node. Is it discoverable by new nodes joining in the network? AFAIK, we only use the seeds in the peer list url as "verified" seeds at the moment.
3 tasks
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.
Resolves #1200. Blocked on MinaProtocol/mina#18827 until canonical recipes land on
develop.Summary
docker-compose.mdxpages as thin narrative wrappers that link to canonical recipes inMinaProtocol/mina, mirroring the existing pattern indocs/exchange-operators/rosetta/docker-compose.mdx.docker-compose.ymlYAML across the four pages — image tags, image names, and daemon flags now live in one place (the mina repo) instead of being copy/pasted into mdx and drifting every release.snark-workers,seed-peers) — original PR only covered block-producer and archive-node.Pages rewritten
docs/node-operators/block-producer-node/docker-compose.mdxmina/src/app/cli/docker-compose/block-producer/docs/node-operators/snark-workers/docker-compose.mdxmina/src/app/cli/docker-compose/snark-worker/docs/node-operators/seed-peers/docker-compose.mdxmina/src/app/cli/docker-compose/seed-peer/docs/node-operators/archive-node/docker-compose.mdxmina/src/app/archive/docker-compose/Plus regenerated
static/llms-full.txt.Section structure (consistent across all four pages)
Mirrors
docs/exchange-operators/rosetta/docker-compose.mdx:git clone+cp env+vi .env+docker compose up -d/make)Why reference, not embed
The Rosetta page proves the pattern: a dense scrapeable wrapper that describes the contract (services, env vars, ports, make targets) while the actual
docker-compose.yml— the part that drifts every release — lives in the mina repo as a single source of truth. Modern coding agents (Claude Code, Cursor) follow GitHub links and clone repos; they get a runnable workflow rather than YAML to paste, and they always see current tags. Naive RAG indexers are already served bystatic/llms-full.txtat the bundle level, so embedding YAML in mdx wasn't doing anything for them either.See #1195 for the broader discoverability context this fits into.
Test plan
mina/...URLs resolve once Add Docker Compose deployment recipes for block-producer, snark-worker, seed-peer, and archive mina#18827 merges todevelop.check-llms-txtCI check passes (regenerated and committed).validate-docker-imagespasses (the four touched pages no longer have inline tags; pre-existing tags innode-operators/data-and-history/rosetta.mdxandexchange-operators/rosetta/run-with-docker.mdxare unchanged).Follow-up
Optional drift-detection CI in a separate PR: assert every
github.com/MinaProtocol/mina/...URL in these pages resolves on the referenced branch, and that env-var / make-target tables match the canonical files. Mentioned in #1200.🤖 Generated with Claude Code