Nabarun Gogoi
0aca087558
* 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 |
||
---|---|---|
.. | ||
README.md | ||
stack.yml |
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")