# WithConfBindMount

- Module: [CommunityToolkit.Aspire.Hosting.ActiveMQ](/reference/api/go/communitytoolkit.aspire.hosting.activemq.md)
- Version: `13.6.1`
- Kind: `method`
- Defined on: [`ActiveMQServerResourceBase`](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresourcebase.md)
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Adds a bind mount for the conf folder to a ActiveMQ container resource.

## Definition

```go
func (ActiveMQServerResourceBase) WithConfBindMount(
    source string,
    options ...*WithConfBindMountOptions,
) ActiveMQServerResourceBase
```

## Parameters

- `source` (`string`) -- The source directory on the host to mount into the container.
- `options` (`...*WithConfBindMountOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*WithConfBindMountOptions` argument.

- `IsReadOnly` (`*bool`) -- A flag that indicates if this is a read-only mount.

## Returns

[`ActiveMQServerResourceBase`](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresourcebase.md) -- The `IResourceBuilder`.

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

## Applies to

- [`ActiveMQArtemisServerResource`](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqartemisserverresource.md)
- [`ActiveMQServerResource`](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresource.md)
- [`ActiveMQServerResourceBase`](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresourcebase.md)
