Use redis for sockets and switch to using env variables for redis config