2025-06-05 23:27:50 +02:00
|
|
|
locals {
|
|
|
|
|
|
|
|
|
|
# storage
|
|
|
|
|
persistent_folder = "/srv"
|
|
|
|
|
|
2025-06-07 16:12:55 +02:00
|
|
|
lab_domain = "lab.alexpires.me"
|
|
|
|
|
open_webui_fqdn = "open-webui.${local.lab_domain}"
|
2025-06-05 23:27:50 +02:00
|
|
|
internal_issuer = "internal-ca"
|
2025-06-06 23:49:38 +02:00
|
|
|
|
|
|
|
|
# samba
|
|
|
|
|
samba_shared_folder = "/mnt/usb"
|
2025-06-07 16:12:55 +02:00
|
|
|
|
|
|
|
|
# DNS
|
|
|
|
|
dns_nameservers = [
|
|
|
|
|
"193.110.81.0",
|
|
|
|
|
"185.253.5.0"
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
zones = [
|
|
|
|
|
{
|
|
|
|
|
fqdn = "${local.lab_domain}"
|
|
|
|
|
records = [
|
2025-06-07 20:39:38 +02:00
|
|
|
{
|
|
|
|
|
name = "vh-01"
|
|
|
|
|
type = "A"
|
|
|
|
|
content = "10.19.4.109"
|
|
|
|
|
},
|
2025-06-07 16:12:55 +02:00
|
|
|
{
|
|
|
|
|
name = "gpu-01"
|
|
|
|
|
type = "A"
|
|
|
|
|
content = "10.19.4.106"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name = "dev-01"
|
|
|
|
|
type = "A"
|
|
|
|
|
content = "10.19.4.136"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name = "ollama"
|
|
|
|
|
type = "CNAME"
|
|
|
|
|
content = "gpu-01.${local.lab_domain}."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name = "kokoro"
|
|
|
|
|
type = "CNAME"
|
|
|
|
|
content = "gpu-01.${local.lab_domain}."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name = "open-webui"
|
|
|
|
|
type = "CNAME"
|
|
|
|
|
content = "dev-01.${local.lab_domain}."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name = "smb"
|
|
|
|
|
type = "CNAME"
|
|
|
|
|
content = "dev-01.${local.lab_domain}."
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
2025-06-05 23:27:50 +02:00
|
|
|
}
|