-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
28 lines (20 loc) · 946 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
# -*- 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: 3000, host: 3000
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.network "forwarded_port", guest: 8000, host: 9000
config.vm.network "forwarded_port", guest: 5555, host: 5555
config.vm.network "forwarded_port", guest: 5432, host: 5432
config.vm.synced_folder "./provisioning", "/home/vagrant/provisioning"
config.vm.synced_folder "../shared_folder", "/home/vagrant/shared_folder"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.provision 'ansible' do |ansible|
ansible.playbook = 'provisioning/playbook.yml'
end
end