diff --git a/Vagrantfile b/Vagrantfile index a36263cc95e..1c79a7e72d1 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -46,6 +46,9 @@ Vagrant::configure("2") do |config| end config.vm.define "build", autostart: false do |vm| + vm.vm.network :forwarded_port, guest: 80, host: FORWARDED_PORT + vm.vm.hostname = "#{DOKKU_DOMAIN}" + vm.vm.network :private_network, ip: DOKKU_IP vm.vm.provision :shell, :inline => "apt-get update > /dev/null && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install git > /dev/null && cd /root/dokku && #{make_cmd}" vm.vm.provision :shell, :inline => "cd /root/dokku && make deb-all" end