make mongodb ip address configurable