Skip to content

Instantly share code, notes, and snippets.

@calimaborges
Last active December 20, 2015 08:59
Show Gist options
  • Save calimaborges/6104437 to your computer and use it in GitHub Desktop.
Save calimaborges/6104437 to your computer and use it in GitHub Desktop.
Vagrant file
Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://**/vagrant/boxes/precise32.box"
config.vm.synced_folder ".", "/vagrant", :id => "vagrant-root", :owner => "www-data", :group => "www-data"
config.vm.provision :shell, :path => "vagrant/bootstrap.sh"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network :private_network, ip: "127.0.0.1"
config.vm.hostname = "localhost.projeto"
config.hostsupdater.aliases = ["dev.projeto"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment