Skip to content
Docs Try Aspire
Docs Try

withDataBindMount

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

Signature

method withDataBindMount builder
Adds a bind mount for the data folder to a SurrealDB resource.
withDataBindMount(source: string): SurrealDbServerResource
source string
SurrealDbServerResource

Applies to

This method applies to the following types: