fix: Add comment for testcontainer exposed port
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user