Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DockerComposeEnvironmentResource.WithDashboard

Method
📦 Aspire.Hosting.Docker v17.0.0
type DockerComposeEnvironmentResource interface {
// ... omitted for brevity
WithDashboard(options ...*WithDashboardOptions) DockerComposeEnvironmentResource
}

Signature

methodWithDashboardbuilder
Enables the Aspire dashboard for telemetry visualization in this Docker Compose environment.
WithDashboard(options ...*WithDashboardOptions) DockerComposeEnvironmentResource
options...*WithDashboardOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDashboardOptions argument.

Enabled*boolWhether to enable the dashboard. Default is true.
DockerComposeEnvironmentResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: