Skip to content
DocsTry Aspire
DocsTry

configureComposeFile

Method
📦 Aspire.Hosting.Docker v13.4.0
interface DockerComposeEnvironmentResource {
// ... omitted for brevity
configureComposeFile(configure: callback): DockerComposeEnvironmentResource;
}

Signature

methodconfigureComposeFilebuilder
Configures the Docker Compose file for the environment resource.
configureComposeFile(configure: (obj: ComposeFile) => Promise<void>): DockerComposeEnvironmentResource
configure(obj: ComposeFile) => Promise<void>
DockerComposeEnvironmentResource

Applies to

This method applies to the following types: