-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
30 lines (23 loc) · 965 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "bento/ubuntu-16.04"
#config.vm.network "forwarded_port", guest: 80, host: 8000 # Use guest's NGINX proxy
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.synced_folder "~/workspaces/usaid-geonode/ftf_geonode.git", "/home/vagrant/ftf_geonode.git"
config.vm.synced_folder "~/workspaces/public/geonode.git", "/home/vagrant/geonode.git"
#config.vm.synced_folder "~/workspaces/public/geodash-viewer.git", "/home/vagrant/geodash-viewer.git"
config.vm.provider "virtualbox" do |vb|\
vb.gui = false
vb.cpus = 2
#vb.memory = 4096
vb.memory = 8192
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/usaid_geonode.yml"
ansible.host_key_checking = false
ansible.verbose = "v"
ansible.raw_arguments = []
end
end