A simple wrapper for getting mongodb connections, specialized for docker based mongo deployment