From d6ec0850b896918faf83f0eab325ec8c1f89e2bb Mon Sep 17 00:00:00 2001 From: tom barrett Date: Fri, 22 Mar 2019 11:38:32 -0500 Subject: added postgres vagrant instance and test to check connection --- Vagrantfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Vagrantfile (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..efd37f1 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,13 @@ +Vagrant.configure("2") do |config| + config.vm.box = "bento/debian-9.4" + config.vm.provision :shell, path: "postgres/bootstrap.sh" + config.vm.network "forwarded_port", guest: 5432, host: 5432 + config.ssh.forward_x11 = true + + config.vm.provider "virtualbox" do |v| + v.name = "postgres" + v.gui = false + v.cpus = 2 + v.memory = 2048 + end +end -- cgit v1.2.3