mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-09-02 00:15:35 +00:00
fix: add unifi endpoint and add copenhagen cluster
This commit is contained in:
parent
3b99f549df
commit
3351732607
2 changed files with 38 additions and 4 deletions
|
|
@ -12,6 +12,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
## LONDON UNIFI ROUTER ##
|
||||
|
||||
ui.pez.sh {
|
||||
reverse_proxy 100.102.71.50:443 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
header_up Host {hostport}
|
||||
}
|
||||
}
|
||||
|
||||
## LONDON-A SERVICES ##
|
||||
|
||||
# Proxmox
|
||||
|
|
@ -26,9 +37,11 @@ london-a.pez.sh {
|
|||
}
|
||||
}
|
||||
|
||||
*.k8s.pez.sh {
|
||||
*.lon.pez.sh {
|
||||
tls {
|
||||
dns hetzner {env.HETZNER_DNS_API_TOKEN}
|
||||
propagation_delay 30s
|
||||
propagation_timeout 3m
|
||||
}
|
||||
tracing {
|
||||
span k8s
|
||||
|
|
@ -36,6 +49,27 @@ london-a.pez.sh {
|
|||
reverse_proxy 100.123.97.26:80
|
||||
}
|
||||
|
||||
copenhagen-a.pez.sh {
|
||||
tracing {
|
||||
span proxmox
|
||||
}
|
||||
reverse_proxy 100.91.240.29:8006 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
*.cph.pez.sh {
|
||||
tls {
|
||||
dns hetzner {env.HETZNER_DNS_API_TOKEN}
|
||||
}
|
||||
tracing {
|
||||
span cph-k8s
|
||||
}
|
||||
reverse_proxy 100.109.200.2:80
|
||||
}
|
||||
|
||||
## LONDON-B SERVICES ##
|
||||
|
||||
# Jellyfin
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ locals {
|
|||
|
||||
resource "hcloud_zone_rrset" "A_helsinki_a" {
|
||||
for_each = toset([
|
||||
"@", "apps", "auth", "bitwarden", "download", "git", "helsinki-a",
|
||||
"jellyfin", "jellyfin-requests", "*.k8s", "ldap", "lidarr", "london-a", "music", "naveen",
|
||||
"@", "apps", "auth", "bitwarden", "copenhagen-a", "download", "git", "helsinki-a",
|
||||
"jellyfin", "jellyfin-requests", "*.cph", "*.lon", "ldap", "lidarr", "london-a", "music", "naveen",
|
||||
"n8n", "plex", "prowlarr", "radarr", "readarr", "request",
|
||||
"sonarr", "soulseek", "status",
|
||||
"sonarr", "soulseek", "status", "ui",
|
||||
])
|
||||
zone = hcloud_zone.pezsh.name
|
||||
name = each.value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue