Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: NIMIQ_OVERRIDE_MAINNET_CONFIG not available for history nodes #3227

Open
Eligioo opened this issue Jan 8, 2025 · 3 comments · May be fixed by #3229
Open

Docker: NIMIQ_OVERRIDE_MAINNET_CONFIG not available for history nodes #3227

Eligioo opened this issue Jan 8, 2025 · 3 comments · May be fixed by #3229
Assignees

Comments

@Eligioo
Copy link
Member

Eligioo commented Jan 8, 2025

If it's desired to run a mainnet history node via the Docker image we provide, there is currently no way to inject the full genesis config via the NIMIQ_OVERRIDE_MAINNET_CONFIG env var.

@Eligioo Eligioo self-assigned this Jan 8, 2025
@hrxi
Copy link
Contributor

hrxi commented Jan 8, 2025

I'd imagine you'd need to mount the file into the docker image and then set NIMIQ_OVERRIDE_MAINNET_CONFIG appropriately.

Does that procedure work?

@jsdanielh
Copy link
Member

I'd imagine you'd need to mount the file into the docker image and then set NIMIQ_OVERRIDE_MAINNET_CONFIG appropriately.

Does that procedure work?

Yeah, IMO this is how it is supported. Maybe it's a matter of documenting it appropriately. I'll work on that

@sisou
Copy link
Member

sisou commented Jan 8, 2025

Stefan's deleted comment is how I did it: put the full genesis config next to the client.toml file and set

NIMIQ_OVERRIDE_MAINNET_CONFIG=/home/nimiq/.nimiq/main-albatross.toml

for the Docker container.

jsdanielh added a commit that referenced this issue Jan 8, 2025
Add documentation for running history nodes with Docker in mainnet.
This is necessary since history nodes in mainnet need to use the full
genesis file.

This closes #3227.
jsdanielh added a commit that referenced this issue Jan 9, 2025
Add documentation for running history nodes with Docker in mainnet.
This is necessary since history nodes in mainnet need to use the full
genesis file.

This closes #3227.
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 a pull request may close this issue.

4 participants