Skip to content
DocsTry Aspire
DocsTry

DockerComposeEnvironmentResource Properties

ClassProperties2 members
Represents a Docker Compose environment resource that can host application resources.
Determines whether to include an Aspire dashboard for telemetry visualization in this environment.
public bool DashboardEnabled { get; set; }
DefaultNetworkNameSection titled DefaultNetworkNamenullablestring?
The name of an existing network to be used.
public string? DefaultNetworkName { get; set; }