-
Notifications
You must be signed in to change notification settings - Fork 187
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
Local genesis file #181
Open
Aberasturi
wants to merge
34
commits into
bcgov:main
Choose a base branch
from
Aberasturi:local-genesis-file
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Local genesis file #181
Conversation
This file contains 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
- Add support for restoring an archive to a named volume. - Add support for mounting a named volume into a `analysis` instance of the `von-network-base` image. - Add the `sst_dump` tool to the bin folder to support analysis of RocksDB database (`*.sst`) files. - Update `read_ledger` to the latest version from `indy-node`. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
All of the updates are contained in the `bcgovimages/von-image:node-1.12-4` base image. Changes include updates to fix a crashing issue on node startup with large ledger sizes. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Add support for backup and restore.
Upgrade to indy-node 1.12.4 and add ledger debug support
- Fix for build issue when the sst_dump binary is included at the `von-network` level. - sst_dump is now included in the `bcgovimages/von-image:node-1.12-4` image. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Move sst_dump into the bcgovimages/von-image:node-1.12-4 base image
- Updates the syntax for setting logging levels and binding volumes. - resolves bcgov#161 Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Fixes for the recent version(s) of docker compose
- Dynamically detect the version of docker compose and adjust the calling syntax appropriately. - resolves bcgov#170 Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Add support for existing and new docker compose syntax
- A few explicit calls to docker compose were missed in the previous commit. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Update the remaining direct calls to docker compose
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Fix 'command not found' errors reported by ./manage -h
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Add documentation and examples for the indy-cli
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Add a security statement regarding seeds and keys.
Signed-off-by: Aberasturi <gabriel.aberasturi@versia.com>
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Add generate did command.
- Add the external (downloaded) script to the gitignore file. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Add generate genesis files command.
- Networking changes introduced in Docker 4.1.x and forward on Windows and MAC stop the direct use of the internal docker host IP returned by the `docker run --rm --net=host eclipse/che-ip` process. On Windows and MAC `host.docker.internal` needs to be used for internal connections between containers. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Add support for changes to internal Docker networking.
- This is an update to the previous commit to update the support for Docker networking. The `getDockerHost` has been pulled out and placed in a central location where it can be updated as needed rather than having to update dozens of scripts the next time there is a change. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
Centralize docker host IP script.
- resolves bcgov#133 Signed-off-by: Wade Barnes <wade@neoterictech.ca>
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.
Signed-off-by: Aberasturi gabriel.aberasturi@versia.com
Way to start webserver using local genesis file #180 Running the web server in Docker against another ledger
GENESI_URL could be a http(s) URL or path to genesis file inside the container.
To use the path to genesis file, you need to use the protocol
file://
in GENESIS_URL and the genesis file need to be inside the container. You have two options:webserver
service in volume section insidedocker-compose.yml
file.docker cp
.For example to connect to the Sovrin Test Network: