etherpad/Vagrantfile

22 lines
904 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
#config.ssh.insert_key = false
config.vm.define "etherpad" do |etherpad|
etherpad.vm.box = "generic/debian11"
etherpad.vm.provider :libvirt do |libvirt|
libvirt.memory = 256
end
etherpad.vm.network "forwarded_port", guest: 80, host: 8884, host_ip: "192.168.33.8"
etherpad.vm.network "forwarded_port", guest: 443, host: 4444, host_ip: "192.168.33.8"
etherpad.vm.network "forwarded_port", guest: 8080, host: 8081, host_ip: "192.168.33.8"
etherpad.vm.network "private_network", ip: "192.168.33.8"
config.vm.provision "shell", inline: "apt install acl"
end
end