Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ComposeFile

Classsealednet10.0
📦 Aspire.Hosting.Docker v13.6.0
Represents a Docker Compose file with properties and configurations for services, networks, volumes, secrets, configs, and custom extensions.
namespace Aspire.Hosting.Docker.Resources;
public sealed class ComposeFile
{
// ...
}
This class is designed to encapsulate the structure of a Docker Compose file as a strongly-typed model. It supports serialization to YAML format for usage in Docker Compose operations.
View all constructors
View all properties
View all methods