Skip to content
Docs Try Aspire
Docs Try
Method
📦 Aspire.Hosting.Docker v13.4.0
interface DockerComposeEnvironmentResource {
// ... omitted for brevity
configureEnvFile(configure: callback): DockerComposeEnvironmentResource;
}

Signature

method configureEnvFile builder
Configures the captured environment variables for the Docker Compose environment before they are written to the .env file.
configureEnvFile(configure: (obj: Dict<string,Aspire.Hosting.Docker/Aspire.Hosting.Docker.CapturedEnvironmentVariable>) => Promise<void>): DockerComposeEnvironmentResource
configure (obj: Dict<string,Aspire.Hosting.Docker/Aspire.Hosting.Docker.CapturedEnvironmentVariable>) => Promise<void>
DockerComposeEnvironmentResource

Applies to

This method applies to the following types: