added new hosts

This commit is contained in:
pyrschtjag committed 2026-10-18 12:33:39 +04:00
1 parent f3959cf2c6
commit 8b1c6b8593
2 files changed
+49 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
terraform {
backend "local" {
path = "terraform.tfstate"
}
}
+44 -2
View File
@@ -126,6 +126,8 @@ variable "containers" {
tags = ["core","database"] tags = ["core","database"]
started = true started = true
start_on_boot = true start_on_boot = true
memory = 1024
swap = 512
operating_system = { operating_system = {
type = "debian", type = "debian",
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
@@ -173,6 +175,31 @@ variable "containers" {
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
} }
} }
"work" = {
vmid = 1040
tags = ["infra","lg"]
started = true
start_on_boot = true
memory = 6144
swap = 3072
cores = 4
size = 6
operating_system = {
type = "debian",
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
}
mount_point = [
{ volume= "/rpool/data/work/", path = "/mnt/work/" }
]
device_passthrough = [
{
path = "/dev/net/tun"
gid = 0
uid = 0
mode = "0660"
}
]
}
"vaultwarden" = { "vaultwarden" = {
vmid = 1110 vmid = 1110
tags = ["services","security"] tags = ["services","security"]
@@ -267,6 +294,7 @@ variable "containers" {
start_on_boot = true start_on_boot = true
memory = 2048 memory = 2048
swap = 1024 swap = 1024
size = 4
operating_system = { operating_system = {
type = "debian", type = "debian",
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
@@ -321,8 +349,8 @@ variable "containers" {
tags = ["media","streaming"] tags = ["media","streaming"]
started = true started = true
start_on_boot = true start_on_boot = true
memory = 1024 memory = 4096
swap = 512 swap = 2048
operating_system = { operating_system = {
type = "debian", type = "debian",
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
@@ -344,6 +372,20 @@ variable "containers" {
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst" template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
} }
} }
"minidlna" = {
vmid = 1226
tags = ["media", "dlna"]
started = true
start_on_boot = true
mount_point = [
{ volume = "/mnt/media1", path = "/mnt/media1" },
{ volume = "/mnt/media2", path = "/mnt/media2" }
]
operating_system = {
type = "debian"
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
}
}
"asf" = { "asf" = {
vmid = 1230 vmid = 1230
tags = ["gaming","automation"] tags = ["gaming","automation"]