Allow configuration of mongodb database