withDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.SurrealDb v13.6.1
interface SurrealDbServerResource {
// ... omitted for brevity
withDataBindMount(source: string): SurrealDbServerResource;
}

Signature

methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a SurrealDB resource.
withDataBindMount(source: string): SurrealDbServerResource
sourcestringThe source directory on the host to mount into the container.
SurrealDbServerResource

Applies to

This method applies to the following types: