withHostPort
Method
interface OpenWebUIResource { // ... omitted for brevity withHostPort(port: number): OpenWebUIResource;}Signature
method
withHostPort builderConfigures the host port that the Open WebUI resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): OpenWebUIResourceParameters
portnumberThe port to bind on the host. If `null` is used random port will be assigned.Returns
OpenWebUIResource Applies to
This method applies to the following types: