forked from kobotoolbox/enketo-express
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
22 lines (16 loc) · 664 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :forwarded_port, host: 8006, guest: 8005
config.vm.network :forwarded_port, host: 35729, guest: 35729
# to run tests:
config.vm.network :forwarded_port, host: 9876, guest: 9876
# to make accessible in other VMs on same private network
config.vm.network "private_network", type: "dhcp"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2024", "--cpus", 1]
end
config.vm.provision :shell, :path => "setup/bootstrap.sh"
end