]> BookStack Code Mirror - devops/commitdiff
Add Vagrant support for up and run BookStack
authorRenat Zaripov <redacted>
Sun, 23 Oct 2016 18:04:14 +0000 (21:04 +0300)
committerRenat Zaripov <redacted>
Sun, 23 Oct 2016 18:04:14 +0000 (21:04 +0300)
Vagrantfile [new file with mode: 0644]

diff --git a/Vagrantfile b/Vagrantfile
new file mode 100644 (file)
index 0000000..9c589a0
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+VAGRANTFILE_API_VERSION = "2"
+
+Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
+  config.vm.provider "virtualbox" do |vb|
+    vb.cpus = 1
+    vb.memory = 1024
+    vb.name = 'bookstack'
+  end
+  config.vm.define :bookstack do |config|
+    config.vm.box = "bento/ubuntu-16.04"
+    config.vm.boot_timeout = 1800
+    config.ssh.username = 'vagrant'
+    config.ssh.password = 'vagrant'
+  end
+end