standardizing use of environment variables for redis config