stack-orchestrator/stack_orchestrator/data/stacks/sushiswap-v3
Nabarun Gogoi 0aca087558
Upgrade release versions for merkl and sushiswap watchers (#642)
* Upgrade merkl-sushiswap-v3-watcher-ts release

* Increase blockDelayInMilliSecs for merkl-sushiswap-v3 watcher

* Upgrade sushiswap-v3-watcher-ts release

* Add sushiswap-v3 watcher to stack list

* Avoid mapping ports that are not required to be exposed
2023-11-13 17:36:37 +05:30
..
README.md Add a sushiswap-v3 watcher stack (#638) 2023-11-13 10:58:55 +05:30
stack.yml Upgrade release versions for merkl and sushiswap watchers (#642) 2023-11-13 17:36:37 +05:30

SushiSwap v3 Watcher

Setup

Clone required repositories:

laconic-so --stack sushiswap-v3 setup-repositories --git-ssh --pull

Build the container images:

laconic-so --stack sushiswap-v3 build-containers

Deploy

Configuration

Create and update an env file to be used in the next step:

# External Filecoin (ETH RPC) endpoint to point the watcher
CERC_ETH_RPC_ENDPOINT=

Deploy the stack

laconic-so --stack sushiswap-v3 deploy --cluster sushiswap_v3 --env-file <PATH_TO_ENV_FILE> up
  • To list down and monitor the running containers:

    laconic-so --stack sushiswap-v3 deploy --cluster sushiswap_v3 ps
    
    # With status
    docker ps -a
    
    # Check logs for a container
    docker logs -f <CONTAINER_ID>
    

Clean up

Stop all the services running in background:

laconic-so --stack sushiswap-v3 deploy --cluster sushiswap_v3 down

Clear volumes created by this stack:

# List all relevant volumes
docker volume ls -q --filter "name=sushiswap_v3"

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