configureComposeFile

Method
📦 Aspire.Hosting.Docker v17.0.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>A method that can be used for customizing the `ComposeFile`.
DockerComposeEnvironmentResource

Applies to

This method applies to the following types: