-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
26 lines (22 loc) · 941 Bytes
/
Vagrantfile
File metadata and controls
26 lines (22 loc) · 941 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# UPDATE REQUIRED!
#
# Change IP address as required
#
config.vm.network :private_network, ip: "192.168.34.36"
config.vm.synced_folder ".", "/var/www"
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Modify these two lines if running 32-bit
config.vm.box = "precise64" # replace with "precise" if running 32-bit.
config.vm.box_url = "http://files.vagrantup.com/precise64.box" # replace with "precise32" if running 32-bit.
config.vm.network "forwarded_port", guest: 27017, host: 27017, auto_correct: true
config.vm.provision :shell, :path => "install.sh"
config.vm.provider "virtualbox" do |v|
v.cpus = 1
end
end