use env variable to get redis url