use default redis port if it is not set
prepare app to production