Skip to content
Docs Try Aspire
Docs Try

PgWebContainerResource

Handle
📦 Aspire.Hosting.PostgreSQL v13.4.0
interface PgWebContainerResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
withHostPort(port: number): PgWebContainerResource;
}

Methods

method withHostPort builder
Configures the host port that the pgweb resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): PgWebContainerResource
port number
PgWebContainerResource