sets up redis for dev, test and prod