Generic Aries Controller build
10K+
This is the generic code that can be used in all controller implementations.
This is published as a npm package. Specific controllers can then pull in each module as needed.
This is also published as a docker image to dockerhub. This image can be run as a "demo-controller" with basic single-agent, multi-controller functionality.
Each controller can be set up as a single or multi controller, single controllers typically have custom code or extra security restrictions that require them to be separate. Mutli controllers are easier to setup as a new controller can be added and configured via APIs without deploying any new servers.
Each controller can also interact with single or multi agents (eg multitenant). Single agents are useful if there is just one agent that the controller needs to control or there are extra security concerns. Multi agents are useful when a controller needs to control multi agents (e.g. an agency).
Any combination of single/multi controller/agent can exist, each with their own use cases
npm link for this:
npm run build
cp package.json dist/package.json
npm link
npm link aries-controller
npm unlinknpm link won't work since symbolic links on the Mac won't work in a docker container.
Instead, you need to map the dist folder from your Mac into the node_modules in the container. Something like this (the relative path may vary):
volumes:
- ../aries-controller/dist:/www/node_modules/aries-controller
Content type
Image
Digest
Size
70.3 MB
Last updated
over 4 years ago
docker pull kivaprotocol/aries-controller