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