forked from IUPUI-Libraries/quick_search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
27 lines (20 loc) · 785 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "boxcutter/centos72"
config.vm.hostname = "quicksearch"
config.ssh.forward_agent = true
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network "private_network", ip: "192.168.50.21"
# main provisioner
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = 'ansible/development-playbook.yml'
ansible.inventory_path = 'ansible/inventories/development.ini'
ansible.limit = 'all'
end
# forward ports
config.vm.network "forwarded_port", guest: 80, host: 8888
config.vm.network "forwarded_port", guest: 3000, host: 7777
config.vm.network "forwarded_port", guest: 8983, host: 8983
end