withHostPort
Method
interface DockerComposeAspireDashboardResource { // ... omitted for brevity withHostPort(port?: number): DockerComposeAspireDashboardResource;}Signature
method
withHostPort builder Configures the port used to access the Aspire Dashboard from a browser.
withHostPort(port?: number): DockerComposeAspireDashboardResourceParameters
port number optional Returns
DockerComposeAspireDashboardResource Applies to
This method applies to the following types: