Many of our tests depend on a sample database which can be run (in the background) with
docker-compose up -d
cargo test -- --test-threads 1 docker build -f docker/Dockerfile.binary -t indexer .Copy the example environment file and fill out your desired configuration:
cp ./event-handler/.env.example ./event-handler/.envdocker run --rm --env-file ./event-handler/.env indexer event-handlerNote: If you are running against a local (docker) instance of postgres you will need to include
--network host --add-host=localhost:host-gateway