gitea first push

This commit is contained in:
Ryan Toler
2025-12-20 06:32:32 +00:00
parent b7a75ccc35
commit 927db26652
3 changed files with 150 additions and 0 deletions

40
gitea.tf Normal file
View File

@@ -0,0 +1,40 @@
resource "proxmox_lxc" "gittea" {
target_node = "ryuk2"
hostname = "gittea"
vmid = 216
ostemplate = "cephfs:vztmpl/debian-13-standard_13.1-2_amd64.tar.zst"
password = "terraform"
unprivileged = true
cores = 6
memory = 3096
swap = 1024
start = true
tags = "terraform;deb13"
nameserver = "192.168.0.224"
ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop"
features {
nesting = true
}
rootfs {
storage = "local-lvm"
size = "42G"
}
network {
name = "eth0"
bridge = "vmbr0"
ip = "192.168.0.63/24"
gw = "192.168.0.1"
}
provisioner "local-exec" {
command = "./.ansible.d/setup.sh $IP"
environment = {
IP = "192.168.0.63"
}
}
}