withHostPort
Method
interface PgAdminContainerResource { // ... omitted for brevity withHostPort(port: number): PgAdminContainerResource;}Signature
method
withHostPort builderConfigures the host port that the PGAdmin resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): PgAdminContainerResourceParameters
portnumberThe port to bind on the host. If `null` is used random port will be assigned.Returns
PgAdminContainerResource Applies to
This method applies to the following types: