Expose host and port for build vm

[ci skip]
This commit is contained in:
Jose Diaz-Gonzalez
2015-08-25 12:24:17 -04:00
parent 1622fc3673
commit 4021b19dfc

3
Vagrantfile vendored
View File

@@ -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