Deploy the Indexer and Database
Step 1 - Install Docker Engine
if the docker engine is not installed on the server, see this link to see how to install the docker engine.
Step 2 - Run the indexer & Database with Docker-compose
1- first, clone the Monad indexer repo
2- to run the EVM indexer alongs with the Database, run the command below:
sudo docker compose -f docker-compose.testnet.yml up -d
Note:
docker-compose.sepolia.ymlis a compose file which runs the indexer and db and fetches all blocks' data from the Sepolia network. to fetch data from another network, you need to create another compose file with a different configuration.
Note: wait until the indexer indexes all of the blocks of the network and then you can proceed and start running DBT.