Files
homelab-infra/terraform/netcore/core-git.tf
T
karpenokandCursor c507ed1fdb
ansible-core-git / deploy (push) Successful in 27s
ansible-core-mon / deploy (push) Successful in 24s
ansible-core-net / deploy (push) Successful in 54s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m15s
ansible-opnsense / deploy (push) Successful in 6s
ansible-rus-central / deploy (push) Successful in 50s
feat(core-git): каркас машины CT 904 под Gitea до миграции
Добавляет terraform/ansible/CI и scrape cAdvisor. Стек Gitea без
POSTGRES_PASSWORD в Infisical не поднимается — данные придут с CT 109.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:00:53 +07:00

52 lines
853 B
Terraform

resource "proxmox_virtual_environment_container" "core_git" {
description = "Managed by Terraform: core-git (Gitea + Actions Runner)"
node_name = var.proxmox_node
vm_id = 904
unprivileged = true
started = true
initialization {
hostname = "core-git"
ip_config {
ipv4 {
address = "192.168.1.105/24"
gateway = "192.168.1.1"
}
}
user_account {
keys = var.ssh_public_keys
}
}
network_interface {
name = "eth0"
bridge = "vmbr10"
}
operating_system {
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
type = "debian"
}
cpu {
cores = 2
}
memory {
dedicated = 4096
swap = 2048
}
disk {
datastore_id = "local-lvm"
size = 40
}
features {
nesting = true
}
}