Watch Aspire live streamsDocsTry Aspire

DockerComposeEnvironmentResource

Classnet10.0
📦 Aspire.Hosting.Docker v17.0.0
Represents a Docker Compose environment resource that can host application resources.
namespace Aspire.Hosting.Docker;
public class DockerComposeEnvironmentResource
: Aspire.Hosting.ApplicationModel.Resource,
Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource,
Aspire.Hosting.ApplicationModel.IComputeEnvironmentWithVolumeMounts,
Aspire.Hosting.ApplicationModel.IResource
{
// ...
}
ResourceIComputeEnvironmentResourceIComputeEnvironmentWithVolumeMountsIResource
Initializes a new instance of the DockerComposeEnvironmentResource class.
View all constructors
View all properties
View all methods