Open utdrmac opened 8 months ago
Healthchecks kept failing for the mongo container. Shellexec into the container to run manually:
root@c74fdc7a45b9:/# echo 'db.stats().ok' | mongo localhost:27017/sw_db bash: mongo: command not found
This is due to mongo removing the old client and replacing with mongosh. Please fix the healthcheck to the following:
mongosh
healthcheck: test: echo 'db.stats().ok' | mongosh localhost:27017/sw_db --quiet
The healthcheck also runs locally so the host to connect to is always localhost; not the hostname of the container.
Healthchecks kept failing for the mongo container. Shellexec into the container to run manually:
This is due to mongo removing the old client and replacing with
mongosh
. Please fix the healthcheck to the following:The healthcheck also runs locally so the host to connect to is always localhost; not the hostname of the container.