# AdminerContainerResource

- Module: [CommunityToolkit.Aspire.Hosting.Adminer](/reference/api/typescript/communitytoolkit.aspire.hosting.adminer.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire)

## Definition

```typescript
interface AdminerContainerResource
  extends IComputeResource,
    IResource,
    IResourceWithArgs,
    IResourceWithEndpoints,
    IResourceWithEnvironment,
    IResourceWithProbes,
    IResourceWithWaitSupport {
  withHostPort(port: number): AdminerContainerResource;
}
```

## Methods

- [withHostPort](/reference/api/typescript/communitytoolkit.aspire.hosting.adminer/adminercontainerresource/withhostport.md) -- `method` -- Configures the host port that the Adminer resource is exposed on instead of using randomly assigned port.
    ```typescript
  withHostPort(port: number): AdminerContainerResource
  ```
