Add configuration for CoreDNS and update host variables for lab environment
This commit is contained in:
@@ -3,10 +3,54 @@ locals {
|
||||
# storage
|
||||
persistent_folder = "/srv"
|
||||
|
||||
primary_domain = "alexpires.me"
|
||||
open_webui_fqdn = "ai.${local.primary_domain}"
|
||||
lab_domain = "lab.alexpires.me"
|
||||
open_webui_fqdn = "open-webui.${local.lab_domain}"
|
||||
internal_issuer = "internal-ca"
|
||||
|
||||
# samba
|
||||
samba_shared_folder = "/mnt/usb"
|
||||
|
||||
# DNS
|
||||
dns_nameservers = [
|
||||
"193.110.81.0",
|
||||
"185.253.5.0"
|
||||
]
|
||||
|
||||
zones = [
|
||||
{
|
||||
fqdn = "${local.lab_domain}"
|
||||
records = [
|
||||
{
|
||||
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}."
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user