feat: add Docker/OpenTofu deployment and DE/NL routing

This commit is contained in:
BuTzZ
2026-07-24 23:10:17 +02:00
parent 57f7b4dedb
commit 12eee8d211
59 changed files with 4452 additions and 148 deletions
+33
View File
@@ -0,0 +1,33 @@
output "server_ipv4" {
description = "Persistente öffentliche IPv4-Adresse des Watermaps-Servers."
value = hcloud_primary_ip.main.ip_address
}
output "server_id" {
description = "Hetzner-ID des Servers."
value = hcloud_server.main.id
}
output "ssh_command" {
description = "SSH-Befehl für den vorbereiteten Deploy-Benutzer."
value = "ssh ${var.deploy_user}@${hcloud_primary_ip.main.ip_address}"
}
output "dns_a_record" {
description = "A-Record, der nach dem Apply manuell beim DNS-Provider angelegt werden soll."
value = {
type = "A"
name = var.dns_name
value = hcloud_primary_ip.main.ip_address
}
}
output "routing_data_mount_path" {
description = "Persistenter Pfad für heruntergeladene PBFs und erzeugte Fahrrouten."
value = "/srv/watermaps-data"
}
output "routing_volume_id" {
description = "Hetzner-ID des persistenten Routingdaten-Volumes."
value = hcloud_volume.routing_data.id
}