Skip to content
Docs Try Aspire
Docs Try

ComposeOperationContext Properties

Class Properties 4 members
Provides the parameters needed to execute a Docker Compose operation against a container runtime.
ComposeFilePath Section titled ComposeFilePath nullable string?
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; }
EnvFilePath Section titled EnvFilePath nullable string?
Gets the optional path to an environment file to pass to the compose operation.
public string? EnvFilePath { get; init; }
ProjectName Section titled ProjectName string
Gets the compose project name used for resource isolation.
public string ProjectName { get; init; }
WorkingDirectory Section titled WorkingDirectory string
Gets the working directory for the compose process.
public string WorkingDirectory { get; init; }