Hi-
I’m using the standard 'mongodb/mongodb-atlas-local" docker image with docker compose for local development, but every time I shut down the container via “docker compose down” it causes some kind of cluster error and after restarting I always get the following: “node is not in primary or recovering state”.
The only solution is to remove the container, rebuild and reimport my database. Any pointers on how to prevent this? I’ve experimented with adding timeouts to the docker compose shutdown but no luck…
Thanks!