withDataBindMount
Method
interface RedisResource { // ... omitted for brevity withDataBindMount( source: string, isReadOnly?: boolean): RedisResource;}Signature
method
withDataBindMountbuilderAdds a bind mount for the data folder to a Redis container resource and enables Redis persistence.
withDataBindMount( source: string, isReadOnly?: boolean): RedisResourceParameters
sourcestringisReadOnlybooleanoptional= FalseReturns
RedisResourceApplies to
This method applies to the following types: