made redis config an env var