configureEnvFile
Method
interface DockerComposeEnvironmentResource { // ... omitted for brevity configureEnvFile(configure: callback): DockerComposeEnvironmentResource;}Signature
method
configureEnvFile builder Configures the captured environment variables written to the Docker Compose .env file
configureEnvFile(configure: (obj: Dict<string,Aspire.Hosting.Docker/Aspire.Hosting.Docker.CapturedEnvironmentVariable>) => Promise<void>): DockerComposeEnvironmentResourceParameters
configure (obj: Dict<string,Aspire.Hosting.Docker/Aspire.Hosting.Docker.CapturedEnvironmentVariable>) => Promise<void> Returns
DockerComposeEnvironmentResource Applies to
This method applies to the following types: