diff options
author | tom barrett <spalf0@gmail.com> | 2019-03-22 11:38:32 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2019-03-22 11:38:32 -0500 |
commit | d6ec0850b896918faf83f0eab325ec8c1f89e2bb (patch) | |
tree | b4d2e676e68b066379e0a7096a98a4ac74e99777 /Vagrantfile | |
parent | 95902608506ae8ccd1203cbbf93efbe876384a1f (diff) |
added postgres vagrant instance and test to check connection
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 13 |
1 files changed, 13 insertions, 0 deletions
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 |