connect to mongodb that also runs in a container