Skip to content

Deployment

Christian Friedow edited this page Aug 19, 2019 · 4 revisions

Deploying Mantichor for an organization means deploying two systems:

  • a central Mantichor share server for the organization to exchange models and execution instances
  • a Mantichor client containing a frontend and a blockchain adapter for each participant inside the organization

Please refer to the Mantichor architecture for a deeper insight into its structure. Both systems can be easily deployed using docker.

Prerequisites

  • Docker (>=v1.25)

Mantichor share server

The Mantichor share server should be deployed on a central server owned by the organization and accessible to all participants.

docker stack

Download the compose file

wget https://github.com/bptlab/mantichor-share/blob/master/docker-compose.yml

Deploy the service using docker stack

docker stack deploy -c docker-compose.yml mantichor

docker-compose

Download the compose file

wget https://github.com/bptlab/mantichor-frontend/blob/master/docker-compose.yml

Deploy the service using docker-compose

docker-compose up

Mantichor client

The Mantichor client has to be set up for every participant locally. For fast and easy setups, we chose to integrate the tezos blockchain adapter as the standard blockchain adapter. If you wish to use another blockchain adapter with the frontend, change the compose file and adjust the ports accordingly.

docker stack

Download the compose file

wget https://github.com/bptlab/mantichor-frontend/blob/master/docker-compose.yml

Deploy the service using docker stack

docker stack deploy -c docker-compose.yml mantichor

docker-compose

Download the compose file

wget https://github.com/bptlab/mantichor-frontend/blob/master/docker-compose.yml

Deploy the service using docker-compose

docker-compose up

Clone this wiki locally