fetch the right redis config from env vars