From my perspective 127.0.0.1 is not the best solution. In case you have multiple vagrant boxes up, the behavior cannot be determined. (I normally have up to 3 boxes up)

I thought thats why we have DOKKU_IP = ENV["DOKKU_IP"] || "10.0.0.2" defined?