Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataBindMount

Method
📦 Aspire.Hosting.Keycloak v17.0.0-preview.1.26565.2
func (KeycloakResource) WithDataBindMount(source string) KeycloakResource

Signature

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

The resource builder.

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

Applies to

This method applies to the following types: