Skip to content

Instantly share code, notes, and snippets.

@tkhn
Created January 9, 2014 10:28
Show Gist options
  • Select an option

  • Save tkhn/8332196 to your computer and use it in GitHub Desktop.

Select an option

Save tkhn/8332196 to your computer and use it in GitHub Desktop.
Vagrantfile example
Vagrant.configure("2") do |config|
config.vm.box = "quantal64"
config.vm.network :forwarded_port, guest: 3000, host: 3000
config.vm.network :forwarded_port, guest: 80, host: 80
config.vm.network :forwarded_port, guest: 81, host: 81
config.vm.network :forwarded_port, guest: 443, host: 443
config.vm.synced_folder ".", "/vagrant", :nfs => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment