Mongoose to Mongo config.