DockerComposeEnvironmentResource.configureEnvFile
Method
interface DockerComposeEnvironmentResource { // ... omitted for brevity configureEnvFile(configure: (obj: Dict<string,Aspire.Hosting.Docker/Aspire.Hosting.Docker.CapturedEnvironmentVariable>) => Promise<void>): DockerComposeEnvironmentResource;}Signature
method
configureEnvFilebuilderConfigures 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>): DockerComposeEnvironmentResourceParameters
configure(obj: Dict<string,Aspire.Hosting.Docker/Aspire.Hosting.Docker.CapturedEnvironmentVariable>) => Promise<void>Returns
DockerComposeEnvironmentResourceDefined on
This method is defined on the following type: