The image for mongodb has already exposed the port, we can remove the ports entry entirely.