forked from AgileVentures/WebsiteOne
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
20 lines (17 loc) · 685 Bytes
/
Copy pathVagrantfile
File metadata and controls
20 lines (17 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/precise64"
config.vm.provision "shell", path: "vagrant-ubuntu-install.sh", privileged: false
# Rails
config.vm.network :forwarded_port, host: 3003, guest: 3000
# Jasmine
config.vm.network :forwarded_port, host: 8888, guest: 8888
config.vm.synced_folder ".", "/WebsiteOne", type: "rsync"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
v.customize ["modifyvm", :id, "--memory", "1024"]
end
end