# LogtoResource.withDataBindMount

- Module: [CommunityToolkit.Aspire.Hosting.Logto](/reference/api/typescript/communitytoolkit.aspire.hosting.logto.md)
- Defined on: [LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md)
- Version: `13.5.0`
- Kind: `method`

Configures the Logto resource to use a data bind mount with the specified source directory.

## Definition

```typescript
interface LogtoResource {
  // ... omitted for brevity
  withDataBindMount(source: string): LogtoResource;
}
```

## Signature

```typescript
withDataBindMount(source: string): LogtoResource
```

## Parameters

- `source` (`string`)

## Returns

[LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md) `builder`

## Defined on

- [LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md) -- `handle`
