forgejo/Vagrantfile

21 lines
737 B
Ruby
Raw Normal View History

2021-04-08 11:29:16 +02: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 "gitea" do |gitea|
gitea.vm.box = "generic/debian11"
2021-04-08 11:29:16 +02:00
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"
end
end