-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (18 loc) · 830 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
require 'yaml'
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 5601, host: 5601
config.vm.network "forwarded_port", guest: 9200, host: 9200
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
config.vm.provision "shell", path: "provisioning/apt-get-updates.sh"
config.vm.provision "shell", path: "provisioning/es-install.sh"
config.vm.provision "shell", path: "provisioning/es-snapshot-restore.sh"
config.vm.provision "shell", path: "provisioning/kibana3-install.sh"
config.vm.provision "shell", path: "provisioning/logstash-install.sh"
end