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

feat(connector-quorum): containerize plugin #787

Closed
jordigiam opened this issue Apr 13, 2021 · 2 comments · Fixed by #803
Closed

feat(connector-quorum): containerize plugin #787

jordigiam opened this issue Apr 13, 2021 · 2 comments · Fixed by #803

Comments

@jordigiam
Copy link

jordigiam commented Apr 13, 2021

Depends on #1161

Is your feature request related to a problem? Please describe.

Cloud has became the de-facto way of running applications on computers.
Containers are rapidly becoming (have become?) the de-facto way of running applications in the cloud.
We therefore need to make sure that Cactus is not just built and distributed as the language native artifacts (e.g. npm packages/webpack bundles) but that it's also distributed as containers.
This doesn't just mean containerizing the API server that can host the plugins, but also means containerizing each plugin individually as well OR providing a generic image of the API server that can be configured to run any and all of the available Cactus plugins on-demand.

Describe the solution you'd like

I want to be able to whisper things like this to my terminal and expect to have a fully functional connector for Ledger X up and running in a few seconds and with the config.json file mounted at the specified path/volume that gets picked up by the API server running inside the container as well.

echo "{ \"some-configuration\": 42 } " > config.json

docker run \
  --rm \
  --volume ./config.json:/opt/hyperledger/cactus/cactus-plugin-ledger-connector-quorum/config.json \ 
  hyperledger/cactus-plugin-ledger-connector-quroum

Acceptance criteria

  1. Dockerfile for generate de docker image with the plugin connector and the api server running.
@elenaizaguirre
Copy link
Contributor

@petermetz I will continue this issue!

@github-actions
Copy link

⏳ Alright! Looks like we need to wait for some dependencies:

💡 Don't worry, I will continue watching the list above and keep this comment updated. To add or remove a dependency please update this issue/PR description.

Brought to you by Dependent Issues (:robot: ). Happy coding!

@petermetz petermetz modified the milestones: v0.9.0, v0.10.0 Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants