If you experience one or more of the processes exiting, you may need to increase you docker resources.
For example, in docker desktop you might see this:
If that is the case, you might not be allocating enough resources to your docker image.
To change this in docker desktop, navigate to the settings icon and the click resrouces. There you will see a menu that looks like below image. Increase the CPU and Memory until your image runs without exiting. The below settings were sufficient in testing on a macbook air m1.
In some linux OS, Elastic Search fails because of the rights on its data folder. (pelias/docker#33)
Running sudo chown -R 1000:1000 .data/es
fixes this issue.
docker-compose down
everything- delete the
.data/postgres
folder - reset the
startBlock
in theproject.yml
file to a recent a block number docker-compose up
again
If you encounter this error:
ERROR: for graphql-engine Container "824d8fc05142" is unhealthy.
You can fix it by:
- shutting down the docker infrastructure & clean up
$ docker rm 824d8fc05142 # replace with the correct container id
$ docker-compose down
-
update the
startBlock
property to the recent block height -
start the docker infrastructure again
$ docker-compose up