Setting port for PostgreSqlContainer #763
-
Hey there, Looking through the source for |
Beta Was this translation helpful? Give feedback.
Answered by
cristianrgreco
May 2, 2024
Replies: 1 comment 2 replies
-
Hi, the port is set to 5432 in the constructor, and so is overridable. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
grug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, the port is set to 5432 in the constructor, and so is overridable.
Just invoke
withExposedPorts
on the Postgres container.