reads env for redis constr