centralized mongodb configuration