-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathVagrantfile
More file actions
22 lines (16 loc) · 839 Bytes
/
Vagrantfile
File metadata and controls
22 lines (16 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Vagrant.configure("2") do |config|
config.vm.provider "virtualbox"
config.vm.box = "vision_development"
config.vm.box_url = "http://vision:ViSiOn2015$@visiondiagnostic.org/devbox/package.box"
config.ssh.private_key_path = File.expand_path('~/.ssh/vagrant')
config.vm.network :private_network, ip: "192.168.88.88"
config.vm.network :forwarded_port, guest: 80, host: 9002
config.vm.provider :virtualbox do |v|
v.name = "vision_development"
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 1024]
end
nfs_setting = RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
config.vm.synced_folder ".", "/home/vision/www", id: "vagrant-root" , :nfs => nfs_setting
config.vm.provision "shell", path: "./provision.sh"
end