Skip to content
Docs Try Aspire

DockerComposeEnvironmentResource

Handle TypeScript
📦 Aspire.Hosting.Docker v13.2.0-preview.1.26159.1
interface DockerComposeEnvironmentResource
extends IComputeEnvironmentResource,
IResource {
dashboardEnabled: boolean;
defaultNetworkName: string;
readonly name: string;
configureDashboard(configure: (obj: DockerComposeAspireDashboardResource) => void): DockerComposeEnvironmentResource;
withDashboard(enabled?: boolean): DockerComposeEnvironmentResource;
withProperties(configure: (obj: DockerComposeEnvironmentResource) => void): DockerComposeEnvironmentResource;
}

Properties

property dashboardEnabled boolean get · set
Gets the DashboardEnabled property
property defaultNetworkName string get · set
Gets the DefaultNetworkName property
property name string get
Gets the Name property

Methods

method configureDashboard builder
Configures the Aspire dashboard resource for the Docker Compose environment
configureDashboard(configure: (obj: DockerComposeAspireDashboardResource) => void): DockerComposeEnvironmentResource
configure (obj: DockerComposeAspireDashboardResource) => void
DockerComposeEnvironmentResource
method withDashboard builder
Enables or disables the Aspire dashboard for the Docker Compose environment
withDashboard(enabled?: boolean): DockerComposeEnvironmentResource
enabled boolean optional = True
DockerComposeEnvironmentResource
method withProperties builder
Configures properties of the Docker Compose environment
withProperties(configure: (obj: DockerComposeEnvironmentResource) => void): DockerComposeEnvironmentResource
configure (obj: DockerComposeEnvironmentResource) => void
DockerComposeEnvironmentResource