You can download Docker here
Just choose your OS and follow the instructions there to install it.
Make sure you have both Docker and Docker Compose installed. If you don’t, go ahead and set them up. To check if they’re installed, run these commands in your terminal:
docker -v
docker compose versiongit clone <REPO_URL>
cd <REPO_NAME>Near the docker-compose.yml file, create a .env file with the following content:
You should add ETH to wallet address.
POSTGRES_USER=<DB_USER>
POSTGRES_PASSWORD=<DB_PASSWORD>
POSTGRES_PORT=<DB_PORT>
POSTGRES_DB=<DB_NAME>
PRIVATE_KEY=<PRIVET_KEY_YOU_WALLET_ADDRESS>
MARGIN_MODULE_ADDRESS=<MARGIN_MODULE_ADDRESS>
HTTP_RPC_URL=<RPC_URL>docker compose -f docker-compose.yml --build up -dCheck logs
docker compose -f docker-compose.yaml logs -f trackerDrop db
docker compose -f docker-compose.yml down -vIf you want to update the Margin Module Address, you can do it by running the following next steps
Change the MARGIN_MODULE_ADDRESS in the .env file to the new address
You should down old data in the database
docker compose -f docker-compose.yml down -vAnd run command 1.3
Added liquidation tracker draft by @kostya12362