Skip to content

feat(docker-compose): support custom genesis config for local network bootstrap#2189

Merged
Mirko-von-Leipzig merged 3 commits into
nextfrom
krisztian/docker-compose-genesis-config
Jun 3, 2026
Merged

feat(docker-compose): support custom genesis config for local network bootstrap#2189
Mirko-von-Leipzig merged 3 commits into
nextfrom
krisztian/docker-compose-genesis-config

Conversation

@kkovaacs
Copy link
Copy Markdown
Contributor

@kkovaacs kkovaacs commented Jun 3, 2026

This PR adds support for using a host-provided genesis config file during local network bootstrap.

Changes:

  • Bind mounts MIDEN_GENESIS_CONFIG_FILE into the bootstrap validator container as /genesis.toml. Mounts a dummy file if the environment variable is not set.
  • Updates bootstrap-validator in docker-compose.yml to conditionally pass --genesis-config-file /genesis.toml when the override enables custom genesis config mode.

Usage:

MIDEN_GENESIS_CONFIG_FILE=/absolute/path/to/genesis.toml make local-network-up

@kkovaacs kkovaacs changed the title feat(docker-compose) feat(docker-compose): support custom genesis config for local network bootstrap Jun 3, 2026
@kkovaacs kkovaacs added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jun 3, 2026
…verride

The bind mount cannot be conditional on the environment variable, so we
now always mount the dummy file if the genesis configuration file was not
specified.
@Mirko-von-Leipzig Mirko-von-Leipzig merged commit 7d980ea into next Jun 3, 2026
21 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the krisztian/docker-compose-genesis-config branch June 3, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants