allow mongo config from env var