Let's say you want to dockerize a node.js application. And this node.js app talks to an instance of MongoDB on the host machine. Is this a good practice? How is it done?
If it's not a good practice, then is it better to provide an instance of MongoDB inside your Docker container with the node.js scripts that talk to it?
Thanks!