prosody/Vagrantfile
2024-03-05 17:22:26 +01:00

23 lines
1.1 KiB
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 "prosody" do |prosody|
prosody.vm.box = "generic/debian11"
prosody.vm.provider :libvirt do |libvirt|
libvirt.memory = 256
end
prosody.vm.network "forwarded_port", guest: 80, host: 8884, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 443, host: 4444, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 8080, host: 8081, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 5222, host: 5222, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 8080, host: 8081, host_ip: "192.168.33.5"
prosody.vm.network "private_network", ip: "192.168.33.5"
config.vm.provision "shell", inline: "apt install acl"
end
end