-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
25 lines (22 loc) · 1.19 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
24
25
# -*- 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|
config.vm.box = "ubuntu/trusty64"
#config.vm.network :forwarded_port, guest: 9631, host: 9631
config.vm.network :forwarded_port, guest: 4002, host: 4001
#config.vm.network :forwarded_port, guest: 80, host: 3080
config.vm.provision "main-install",type: :shell, :path => "vagrant-scripts/install.sh"
config.vm.provision "pg-install",type: :shell, :path => "vagrant-scripts/pg-install.sh"
config.vm.provision "apache-install",type: :shell, :path => "vagrant-scripts/apache-install.sh"
config.vm.provision "hab-install", type: :shell, :path => "vagrant-scripts/hab-install.sh"
config.vm.provision "aptamer-config", type: :shell, :path => "vagrant-scripts/aptamer-config.sh"
config.vm.synced_folder ".", "/vagrant", :mount_options => ["dmode=777", "fmode=666"]
config.vm.synced_folder "~/.hab", "/home/vagrant/.hab"
config.vm.network "private_network", ip: "33.33.34.10", type: "dhcp", auto_config: false
config.vm.provider "virtualbox" do |vb|
vb.memory = 2048
vb.cpus = 2
end
end