only configures redis for heroku if in production