Skip to content
DocsTry Aspire
DocsTry

DockerComposeEnvironmentResource.withDashboard

Method
📦 Aspire.Hosting.Docker v13.4.0
interface DockerComposeEnvironmentResource {
// ... omitted for brevity
withDashboard(enabled?: boolean): DockerComposeEnvironmentResource;
}

Signature

methodwithDashboardbuilder
Enables the Aspire dashboard for telemetry visualization in this Docker Compose environment.
withDashboard(enabled?: boolean): DockerComposeEnvironmentResource
enabledbooleanoptional= True
DockerComposeEnvironmentResource

Defined on

This method is defined on the following type: