NatsServerResource.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
NatsServerResourceDefined on
This method is defined on the following type: