To build and run docker u need to build SDK with changes and put it into the current directory by: npm run get_sdk
docker build -t indexer .
At this point u need to have some Postgres DB running
Modify and move .env.example into .env
Run core and wait till it will have all reindexed docker run --name core --rm --env-file .env --link pg1 -e PROGRAM=core -d indexer. It might throw errors due to RPC, just restart - it will proceed where it left off
Run API docker run --name api --rm -p 3000:3000 --env-file .env --link pg1 -e PROGRAM=api -d indexer
cd tools/indexer
npm run get_sdk
docker build -t indexer .
.env.example
into.env
docker run --name core --rm --env-file .env --link pg1 -e PROGRAM=core -d indexer
. It might throw errors due to RPC, just restart - it will proceed where it left offdocker run --name api --rm -p 3000:3000 --env-file .env --link pg1 -e PROGRAM=api -d indexer