RedisInsightResource.WithDataBindMount

Method
📦 Aspire.Hosting.Redis v17.0.0
type RedisInsightResource interface {
// ... omitted for brevity
WithDataBindMount(source string) RedisInsightResource
}

Signature

methodWithDataBindMountbuilder
Adds a bind mount for the data folder to a Redis Insight container resource.
WithDataBindMount(source string) RedisInsightResource
sourcestringThe source directory on the host to mount into the container.
RedisInsightResource

The resource builder.

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

Defined on

This method is defined on the following type: