Skip to content
Docs Try Aspire
Docs Try

asEnvironmentPlaceholder

Method
📦 Aspire.Hosting.Docker v13.3.0
interface ParameterResource {
// ... omitted for brevity
asEnvironmentPlaceholder(dockerComposeService: DockerComposeServiceResource): string;
}

Signature

method asEnvironmentPlaceholder
Creates a Docker Compose environment variable placeholder from a parameter builder
asEnvironmentPlaceholder(dockerComposeService: DockerComposeServiceResource): string
dockerComposeService DockerComposeServiceResource
string

Applies to

This method applies to the following types: