I have a mongodb docker container which is working correctly. I can query it from outside docker using localhost if I expose port 27017. I can query it from a python docker