Config mongoid database.