forked from michael-romer/doctrine2buch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
executable file
·24 lines (24 loc) · 866 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Vagrant::Config.run do |config|
config.vm.customize [
"modifyvm", :id,
"--memory", "1024",
"--cpus", "1"
]
config.vm.box = "precise64"
config.vm.forward_port 80, 8080
config.vm.forward_port 3306, 3306
config.ssh.max_tries = 50
config.ssh.timeout = 300
config.vm.share_folder("v-root", "/vagrant", ".", :owner => "www-data", :group => "www-data")
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe("vagrant_main")
chef.log_level = :debug
# Configure http(s) proxy if needed (requires Vagrant >= 0.7.4)
# chef.http_proxy = "http://proxy.vmware.com:3128"
# chef.https_proxy = "http://proxy.vmware.com:3128"
# chef.http_proxy_user = "my_username"
# chef.http_proxy_pass = "foo"
chef.json.merge!({ :mysql => { :server_root_password => "" } })
end
end