forgejo/Vagrantfile
meaz c291788219 Bump to 1.17.1 + couple of fixes for vagrant (#17)
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: Disroot-Ansible/gitea#17
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
2022-09-06 14:55:03 +00:00

20 lines
795 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 "gitea" do |gitea|
gitea.vm.box = "generic/debian11"
gitea.vm.provider :libvirt do |libvirt|
libvirt.memory = 256
end
gitea.vm.network "forwarded_port", guest: 80, host: 8888, host_ip: "192.168.33.14"
gitea.vm.network "forwarded_port", guest: 443, host: 4443, host_ip: "192.168.33.14"
gitea.vm.network "private_network", ip: "192.168.33.14"
config.vm.provision "shell", inline: "apt install acl"
end
end