Update redis and socketio settings to use env vars