Skip to content
Docs Try Aspire
Docs Try

AdminerContainerResource.withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.Adminer v13.4.0
interface AdminerContainerResource {
// ... omitted for brevity
withHostPort(port: number): AdminerContainerResource;
}

Signature

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

Defined on

This method is defined on the following type: