Move redis config into configuration file