make redis configurable