withDashboard

Method
📦 Aspire.Hosting.Docker v17.0.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= TrueWhether to enable the dashboard. Default is true.
DockerComposeEnvironmentResource

Applies to

This method applies to the following types: