ComposeOperationContext
Class sealed net8.0
Provides the parameters needed to execute a Docker Compose operation against a container runtime.
namespace Aspire.Hosting.Publishing;
public sealed class ComposeOperationContext{ // ...} 5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesComposeFilePathget; initstring? Gets the path to the Docker Compose YAML file. When null, compose operations will use the project name only without referencing a file.
EnvFilePathget; initstring? Gets the optional path to an environment file to pass to the compose operation.
ProjectNameget; initstring Gets the compose project name used for resource isolation.
WorkingDirectoryget; initstring Gets the working directory for the compose process.