summaryrefslogtreecommitdiff
path: root/vagrant_yacy/Vagrantfile
diff options
context:
space:
mode:
authorFrank Tornack <frankenstein91.info@googlemail.com>2024-02-04 19:29:16 +0100
committerFrank Tornack <frankenstein91.info@googlemail.com>2024-02-04 19:29:16 +0100
commit68644861967b02f18c8f4f129d55388330f5497e (patch)
tree26bbe9b384101eae734d6705004f45a7a3ff3807 /vagrant_yacy/Vagrantfile
parent331e0a24fc5972ce4562649a66de9431c4e69d21 (diff)
add Yacy vagrant
untested
Diffstat (limited to 'vagrant_yacy/Vagrantfile')
-rw-r--r--vagrant_yacy/Vagrantfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/vagrant_yacy/Vagrantfile b/vagrant_yacy/Vagrantfile
new file mode 100644
index 000000000..b3f34f930
--- /dev/null
+++ b/vagrant_yacy/Vagrantfile
@@ -0,0 +1,21 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure("2") do |config|
+ # two machines with archlinux
+ config.vm.define "yacy" do |yacy|
+ yacy.vm.box = "archlinux/archlinux"
+ yacy.vm.hostname = "Yacy"
+ yacy.vm.network "private_network", type: "dhcp"
+ # forward the port 8090 to the host
+ yacy.vm.network "forwarded_port", guest: 8090, host: 8090, auto_correct: true, protocol: "tcp"
+ yacy.vm.network "forwarded_port", guest: 8443, host: 8443, auto_correct: true, protocol: "tcp"
+ yacy.vm.provision "shell", path: "provision_yacy.sh"
+ #set the memory to 4GB
+ yacy.vm.provider "virtualbox" do |vb|
+ vb.memory = "4096"
+ vb.cpus = 4
+ end
+ end
+
+end