stack-orchestrator/app/data/stacks/mobymask-v2
2023-03-20 17:09:05 +05:30
..
README.md Rename stack and container 2023-03-20 17:09:05 +05:30
stack.yml Rename stack and container 2023-03-20 17:09:05 +05:30

MobyMask v2 watcher

Instructions to deploy MobyMask v2 watcher stack using laconic-stack-orchestrator

Setup

Clone required repositories:

laconic-so --stack mobymask-v2 setup-repositories

Build the container images:

laconic-so --stack mobymask-v2 build-containers

This should create the required docker images in the local image registry.

Deploy the stack:

laconic-so --stack mobymask-v2 deploy-system up

Tests

Find the watcher container's id using docker ps and export it for later use:

export CONTAINER_ID=<CONTAINER_ID>

Run the peer tests:

docker exec -w /app/packages/peer $CONTAINER_ID yarn test

Clean up

To stop all the services running in background run:

laconic-so --stack mobymask-v2 deploy-system down