feat: add Docker/OpenTofu deployment and DE/NL routing
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user