withDataBindMount
Method
interface NatsServerResource { // ... omitted for brevity withDataBindMount( source: string, isReadOnly?: boolean): NatsServerResource;}Signature
method
withDataBindMountbuilderAdds a bind mount for the data folder to a NATS container resource.
withDataBindMount( source: string, isReadOnly?: boolean): NatsServerResourceParameters
sourcestringisReadOnlybooleanoptional= FalseReturns
NatsServerResourceApplies to
This method applies to the following types: