PgWebContainerResource
Handle
interface PgWebContainerResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport { withHostPort(port: number): PgWebContainerResource;}Methods
Configures the host port that the pgweb resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): PgWebContainerResourceParameters
portnumberThe port to bind on the host. If `null` is used random port will be assigned.Returns
PgWebContainerResource