withDataBindMount
Method
interface RavenDBServerResource { // ... omitted for brevity withDataBindMount( source: string, isReadOnly?: boolean): RavenDBServerResource;}Signature
method
withDataBindMount builderAdds a bind mount for the data folder to a RavenDB container resource.
withDataBindMount( source: string, isReadOnly?: boolean): RavenDBServerResourceParameters
sourcestringThe source directory on the host to mount into the container.isReadOnly booleanoptional= FalseIndicates whether the bind mount should be read-only. Defaults to false.Returns
RavenDBServerResource Applies to
This method applies to the following types: