ports declarations should support publish_mode

This commit is contained in:
Greyscale 2025-03-03 16:23:32 +01:00
parent a8c92f599a
commit d31b0d4fb3

View file

@ -204,7 +204,7 @@ resource "docker_service" "instance" {
target_port = ports.value.container
published_port = ports.value.host
protocol = ports.value.protocol
publish_mode = "ingress"
publish_mode = ports.value.publish_mode
}
}
}