Skip to content

Instantly share code, notes, and snippets.

@alfetopito
Created December 14, 2015 16:05
Show Gist options
  • Save alfetopito/0eb424232759a247289a to your computer and use it in GitHub Desktop.
Save alfetopito/0eb424232759a247289a to your computer and use it in GitHub Desktop.
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.122"
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
config.vm.synced_folder ".", "/home/vagrant/app"
# provisioning...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment