# CommunityToolkit.Aspire.Hosting.DbGate

- Module: `CommunityToolkit.Aspire.Hosting.DbGate`
- Version: `13.4.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire)
- Functions: `4`
- Types: `1`

## Types

- [DbGateContainerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.dbgate/dbgatecontainerresource.md) -- `handle` - 4 members -- Represents a container resource for DbGate.

## Functions

- [addDbGate](/reference/api/typescript/communitytoolkit.aspire.hosting.dbgate/adddbgate.md) -- `method` -- Adds a DbGate container resource to the application.
- [withDataBindMount](/reference/api/typescript/communitytoolkit.aspire.hosting.dbgate/withdatabindmount.md) -- `method` -- Adds a bind mount for the data folder to a DbGate container resource.
- [withDataVolume](/reference/api/typescript/communitytoolkit.aspire.hosting.dbgate/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to a DbGate container resource.
- [withHostPort](/reference/api/typescript/communitytoolkit.aspire.hosting.dbgate/withhostport.md) -- `method` -- Configures the host port that the DbGate resource is exposed on instead of using randomly assigned port.
