Take mongo config from settings