-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
27 lines (23 loc) · 850 Bytes
/
Vagrantfile
File metadata and controls
27 lines (23 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Vagrant::Config.run do |config|
config.vm.box = "base"
config.vm.forward_port 3000, 3000
config.vm.forward_port 43000,43000,{ :protocol => "udp"}
config.vm.share_folder "app", "/home/vagrant/app", "app"
# allow for symlinks in the app folder
config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/app", "1"]
config.vm.provision :chef_solo do |chef|
chef.add_recipe "nodejs"
# Uncomment the line below if you're using a version of node
# that doesn't include NPM, (version less than 0.6.3)
# chef.add_recipe "nodejs::npm"
chef.add_recipe "mongodb-debs"
chef.add_recipe "redis-server"
chef.json = {
"nodejs" => {
"version" => "0.6.13"
}
}
end
# Do a few things after setup
config.vm.provision :shell, :path => "postsetup.sh"
end