-
Notifications
You must be signed in to change notification settings - Fork 77
/
Vagrantfile
23 lines (19 loc) · 1.05 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :private_network, ip: "192.168.56.11"
config.ssh.forward_agent = true
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 512]
end
config.vm.synced_folder "./", "/project", :nfs => true
config.vm.provision "shell", path: "vagrant/provision_scripts/base.sh"
#config.vm.provision "shell", path: "vagrant/provision_scripts/nginx.sh"
config.vm.provision "shell", path: "vagrant/provision_scripts/php.sh"
#config.vm.provision "shell", path: "vagrant/provision_scripts/mysql.sh"
#config.vm.provision "shell", path: "vagrant/provision_scripts/memcached.sh"
#config.vm.provision "shell", path: "vagrant/provision_scripts/yuicompressor.sh"
#config.vm.provision "shell", path: "vagrant/provision_scripts/compass.sh"
end