Docker-compose: Error connecting to the Mongo database

I’ll do some testing locally and see if I can find the error in your file.

Just as a general question though, are you planning to containerize Mongo in production?
If yes, I would strongly advise against that.