Skip to content
Docs Try Aspire
Docs Try

DockerComposeAspireDashboardResource

Handle
📦 Aspire.Hosting.Docker v13.3.0
interface DockerComposeAspireDashboardResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
readonly otlpGrpcEndpoint: EndpointReference;
readonly primaryEndpoint: EndpointReference;
withForwardedHeaders(enabled?: boolean): DockerComposeAspireDashboardResource;
withHostPort(port?: number): DockerComposeAspireDashboardResource;
}

Properties

property otlpGrpcEndpoint EndpointReference get
Gets the OtlpGrpcEndpoint property
property primaryEndpoint EndpointReference get
Gets the PrimaryEndpoint property

Methods

method withForwardedHeaders builder
Enables or disables forwarded headers support for the Aspire dashboard
withForwardedHeaders(enabled?: boolean): DockerComposeAspireDashboardResource
enabled boolean optional = True
DockerComposeAspireDashboardResource
method withHostPort builder
Sets the host port for the Aspire dashboard
withHostPort(port?: number): DockerComposeAspireDashboardResource
port number optional
DockerComposeAspireDashboardResource