gitea migration

This commit is contained in:
Ryan Toler
2026-03-24 05:28:45 +00:00
parent be9246e605
commit ee8cd0a583
2 changed files with 139 additions and 0 deletions

50
lxc/gitea/vars.tf Normal file
View File

@@ -0,0 +1,50 @@
# ---------------------------------------------------------------
# General container settings (things that rarely change)
# ---------------------------------------------------------------
variable "start_on_boot" {
type = bool
default = true
}
variable "unprivileged" {
type = bool
default = true
}
variable "nesting_enabled" {
type = bool
default = true
}
# ---------------------------------------------------------------
# Disk sizes (primary + optional)
# ---------------------------------------------------------------
variable "datastore_id" {
type = string
default = "local-lvm"
}
variable "disk_size_gb" {
type = number
default = 64
}
# ---------------------------------------------------------------
# Initialization specifics
# ---------------------------------------------------------------
variable "hostname" { default = "gitea" }
variable "ip_address" { default = "192.168.0.63/24" }
variable "gateway" { default = "192.168.0.1" }
variable "password" { default = "example" }
variable "cores" { default = 4 }
# ---------------------------------------------------------------
# Node & template file
# ---------------------------------------------------------------
variable "node_name" { default = "watari" }
variable "template_file_id" { default = "local:vztmpl/debian-13-standard_13.4-sudo_amd64.tar.zst" }
# ---------------------------------------------------------------
# (Optional) Mount point volume name – set if you enable mounts
# ---------------------------------------------------------------
# variable "mount_volume" { default = "" }