# DockerComposeAspireDashboardResource

- Module: [Aspire.Hosting.Docker](/reference/api/typescript/aspire.hosting.docker.md)
- Version: `13.2.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface DockerComposeAspireDashboardResource
  extends IComputeResource,
    IResource,
    IResourceWithArgs,
    IResourceWithEndpoints,
    IResourceWithEnvironment,
    IResourceWithProbes,
    IResourceWithWaitSupport {
  entrypoint: string;
  readonly name: string;
  readonly otlpGrpcEndpoint: EndpointReference;
  readonly primaryEndpoint: EndpointReference;
  shellExecution: boolean;
  withForwardedHeaders(enabled?: boolean): DockerComposeAspireDashboardResource;
  withHostPort(port?: number): DockerComposeAspireDashboardResource;
}
```

## Properties

- `entrypoint`: `string` `get - set` -- Gets the Entrypoint property
- `name`: `string` `get` -- Gets the Name property
- `otlpGrpcEndpoint`: `EndpointReference` `get` -- Gets the OtlpGrpcEndpoint property
- `primaryEndpoint`: `EndpointReference` `get` -- Gets the PrimaryEndpoint property
- `shellExecution`: `boolean` `get - set` -- Gets the ShellExecution property

## Methods

- [withForwardedHeaders](/reference/api/typescript/aspire.hosting.docker/dockercomposeaspiredashboardresource/withforwardedheaders.md) -- `method` -- Enables or disables forwarded headers support for the Aspire dashboard
    ```typescript
  withForwardedHeaders(enabled?: boolean): DockerComposeAspireDashboardResource
  ```
- [withHostPort](/reference/api/typescript/aspire.hosting.docker/dockercomposeaspiredashboardresource/withhostport.md) -- `method` -- Sets the host port for the Aspire dashboard
    ```typescript
  withHostPort(port?: number): DockerComposeAspireDashboardResource
  ```
