From 8d31dd22e3b5c51ff166b6f4f49abc1ff180c8d9 Mon Sep 17 00:00:00 2001 From: David Maus Date: Tue, 7 Jan 2020 12:25:09 +0100 Subject: [PATCH] Support VM provisioning with Vagrant --- .gitignore | 3 +++ Vagrantfile | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 1e7fa5b..c90c445 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ data/ log/ opt/ cfg/solr/credentials + +.vagrant/ +*.log \ No newline at end of file diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..945a750 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,13 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "ubuntu/bionic64" + config.vm.box_check_update = true + config.vm.network "forwarded_port", guest: 8983, host: 8983, host_ip: "127.0.0.1" + config.vm.synced_folder ".", "/vagrant" + + config.vm.provider "virtualbox" do |vb| + vb.memory = "4096" + end +end