fix: Add comment for testcontainer exposed port

This commit is contained in:
2025-12-26 10:23:57 +01:00
parent e472a5715d
commit 896902f590

View File

@@ -19,5 +19,16 @@ class TestContainersConfig {
.withPassword("legalconsenthub")
.withCreateContainerCmdModifier { cmd ->
cmd.withName("legalconsenthub-test-${System.currentTimeMillis()}")
// Comment this in to be able to connect to the database, needs to be commented our during tests
// cmd.withHostConfig(
// HostConfig().apply {
// this.withPortBindings(
// PortBinding(
// Ports.Binding.bindPort(5432),
// ExposedPort(5432),
// ),
// )
// },
// )
}.withReuse(true)
}