-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathVagrantfile
31 lines (24 loc) · 1.07 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
26
27
28
29
30
31
# -*- 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.provider "virtualbox" do |v|
v.memory = 1024
end
config.vm.define "postgresql93" do |postgresql93|
postgresql93.vm.provision :shell, :path => "vagrant_scripts/pg93_bootstrap.sh"
postgresql93.vm.network "private_network", ip: "192.168.50.4"
postgresql93.vm.network "forwarded_port", guest: 5432, host: 5432
postgresql93.vm.box = "ubuntu/trusty64"
end
config.vm.define "idm", primary: true do |idm|
idm.vm.provision :shell, :path => "vagrant_scripts/idm_bootstrap.sh"
idm.vm.provision "shell", path: "vagrant_scripts/idm_startup.sh", run: "always"
idm.vm.network "private_network", ip: "192.168.50.3"
idm.vm.network "forwarded_port", guest: 8443, host: 18443
idm.vm.box = "ubuntu/trusty64"
end
# Add new virtual machines below to run whatever remote repositories
# you would like to use OpenIDM to connect to.
end