set prod/dev environment values
add migrate
set redis config only in production