forked from jmandel/smart-on-fhir-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (24 loc) · 1.08 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
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.hostname = "smart-on-fhir"
config.vm.box = "ubuntu/trusty64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
config.vm.network :forwarded_port, guest: 9080, host: 9080
config.vm.network :forwarded_port, guest: 9085, host: 9085
config.vm.network :forwarded_port, guest: 9090, host: 9090
config.vm.network :forwarded_port, guest: 389, host: 1389
# config.vm.network :forwarded_port, guest: 9999, host: 9999
config.vm.network "private_network", ip: "192.168.50.4"
config.vm.provision "ansible" do |ansible|
#ansible.verbose = "vvvv"
#ansible.tags=["load_apps"]
ansible.playbook = "provisioning/smart-on-fhir-servers.yml"
end
end