DockerComposeEnvironmentExtensions Class

Definition

Provides extension methods for adding Docker Compose environment resources to the application model.

public static class DockerComposeEnvironmentExtensions
type DockerComposeEnvironmentExtensions = class
Public Module DockerComposeEnvironmentExtensions
Inheritance
DockerComposeEnvironmentExtensions

Methods

Name Description
AddDockerComposeEnvironment(IDistributedApplicationBuilder, String)

Adds a Docker Compose environment to the application model.

ConfigureComposeFile(IResourceBuilder<DockerComposeEnvironmentResource>, Action<ComposeFile>)

Configures the Docker Compose file for the environment resource.

ConfigureEnvFile(IResourceBuilder<DockerComposeEnvironmentResource>, Action<IDictionary<String,CapturedEnvironmentVariable>>)

Configures the captured environment variables for the Docker Compose environment before they are written to the .env file.

WithDashboard(IResourceBuilder<DockerComposeEnvironmentResource>, Action<IResourceBuilder<DockerComposeAspireDashboardResource>>)

Configures the dashboard properties for this Docker Compose environment.

WithDashboard(IResourceBuilder<DockerComposeEnvironmentResource>, Boolean)

Enables the Aspire dashboard for telemetry visualization in this Docker Compose environment.

WithProperties(IResourceBuilder<DockerComposeEnvironmentResource>, Action<DockerComposeEnvironmentResource>)

Allows setting the properties of a Docker Compose environment resource.

Applies to