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

Use init container for history archive initialization #2

Open
andrenarchy opened this issue May 20, 2019 · 0 comments
Open

Use init container for history archive initialization #2

andrenarchy opened this issue May 20, 2019 · 0 comments

Comments

@andrenarchy
Copy link
Contributor

Currently, initializeHistoryArchives passes down INITIALIZE_HISTORY_ARCHIVES=true to the Stellar Core container. Instead, we should use an init container for this operation instead of using the Stellar Core container's entrypoint.

Note: I think we should make sure that we don't overwrite an existing history archive accidentally, so the logic from https://github.com/satoshipay/docker-stellar-core/blob/8dac8b3df22f1e1ec92cde6f09caf3b54199b8c6/entry.sh#L27-L49 should be copied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant