withDataBindMount
Method
interface SurrealDbServerResource { // ... omitted for brevity withDataBindMount(source: string): SurrealDbServerResource;}Signature
method
withDataBindMount builderAdds a bind mount for the data folder to a SurrealDB resource.
withDataBindMount(source: string): SurrealDbServerResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
SurrealDbServerResource Applies to
This method applies to the following types: