configure mongodb in production