Make mongodb domain configurable.