config mongodb service