WithDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.SurrealDb v13.6.1
func (SurrealDbServerResource) 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

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: