Skip to content
Docs Try Aspire

PgWebContainerResource.withHostPort

Method
📦 Aspire.Hosting.PostgreSQL v13.2.0-preview.1.26159.1
interface PgWebContainerResource {
// ... omitted for brevity
withHostPort(port: number): PgWebContainerResource;
}

Signature

method withHostPort builder
Sets the host port for pgweb
withHostPort(port: number): PgWebContainerResource
port number
PgWebContainerResource

Defined on

This method is defined on the following type: