kobotoolbox / kobo-docker

Stack of docker containers to all server-side components of KoBoToolbox (kpi, kobocat, enketo-express).
181 stars 203 forks source link

Wait for mongo to be ready before changing passwords #334

Closed noliveleger closed 2 years ago

noliveleger commented 2 years ago

Sometimes, MongoDB takes more time to start and is ready to accept connections after the commands to change passwords are sent. When this happens, the passwords are not changed and MongoDB stays in a "zombie" state and refuses to start at all.