Skip to content
DocsTry Aspire
DocsTry

ComposeOperationContext Properties

ClassProperties4 members
Provides the parameters needed to execute a Docker Compose operation against a container runtime.
ComposeFilePathSection titled ComposeFilePathnullablestring?
Gets the path to the Docker Compose YAML file. When null, compose operations will use the project name only without referencing a file.
public string? ComposeFilePath { get; init; }
EnvFilePathSection titled EnvFilePathnullablestring?
Gets the optional path to an environment file to pass to the compose operation.
public string? EnvFilePath { get; init; }
Gets the compose project name used for resource isolation.
public string ProjectName { get; init; }
WorkingDirectorySection titled WorkingDirectorystring
Gets the working directory for the compose process.
public string WorkingDirectory { get; init; }