withHostPort
Method
interface RedisCommanderResource { // ... omitted for brevity withHostPort(port: number): RedisCommanderResource;}Signature
method
withHostPortbuilderConfigures the host port that the Redis Commander resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): RedisCommanderResourceParameters
portnumberReturns
RedisCommanderResourceApplies to
This method applies to the following types: