stack-orchestrator/app/data/stacks/azimuth
2023-05-03 18:28:45 +05:30
..
README.md Setup gateway-server with watchers 2023-05-03 18:28:45 +05:30
stack.yml Setup gateway-server with watchers 2023-05-03 18:28:45 +05:30

Azimuth Watcher

Instructions to setup and deploy Azimuth Watcher stack

Setup

Clone required repositories:

laconic-so --stack azimuth setup-repositories

NOTE: If the repository already exists and checked out to different versions, setup-repositories command will throw an error. For getting around this, the azimuth-watcher-ts repository can be removed and then run the command.

Checkout to the required versions and branches in repos

# azimuth-watcher-ts
cd ~/cerc/azimuth-watcher-ts
# git checkout v0.1.0

Build the container images:

laconic-so --stack azimuth build-containers

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

Deploy the stack:

  • Deploy the containers:

    laconic-so --stack azimuth deploy-system up
    
  • List and check the health status of all the containers using docker ps and wait for them to be healthy

Clean up

Stop all the services running in background run:

laconic-so --stack azimuth deploy-system down 30

Clear volumes created by this stack:

# List all relevant volumes
docker volume ls -q --filter "name=.*watcher_db_data"

# Remove all the listed volumes
docker volume rm $(docker volume ls -q --filter "name=.*watcher_db_data")