Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataBindMount

Method
📦 Aspire.Hosting.Redis v17.0.0
func (RedisInsightResource) 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().

Applies to

This method applies to the following types: