2021-03-14 17:53:38 +01:00
|
|
|
# -*- 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|
|
2024-05-13 22:49:52 +02:00
|
|
|
etherpad.vm.box = "generic/debian12"
|
2021-03-14 17:53:38 +01:00
|
|
|
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"
|
2023-01-08 20:28:17 +01:00
|
|
|
config.vm.provision "shell", inline: "apt install acl"
|
2021-03-14 17:53:38 +01:00
|
|
|
end
|
|
|
|
end
|