From e74d4e89fada2015107c16819219dffb10feaf34 Mon Sep 17 00:00:00 2001
From: "aspire-repo-bot[bot]"
<268009190+aspire-repo-bot[bot]@users.noreply.github.com>
Date: Mon, 18 May 2026 16:36:43 +0000
Subject: [PATCH] docs: add polyglot WithComputeEnvironment examples to
Kubernetes and Docker integration pages
WithComputeEnvironment is now available in polyglot (TypeScript, Python, Java, Go) app hosts
as of microsoft/aspire#17093. Expand the existing tip asides on the Kubernetes and Docker
integration pages to include C# and TypeScript code examples showing how to call the API.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
.../docs/integrations/compute/docker.mdx | 26 ++++++++++++++++---
.../docs/integrations/compute/kubernetes.mdx | 26 ++++++++++++++++---
2 files changed, 46 insertions(+), 6 deletions(-)
diff --git a/src/frontend/src/content/docs/integrations/compute/docker.mdx b/src/frontend/src/content/docs/integrations/compute/docker.mdx
index 56b6833b5..10411863b 100644
--- a/src/frontend/src/content/docs/integrations/compute/docker.mdx
+++ b/src/frontend/src/content/docs/integrations/compute/docker.mdx
@@ -142,9 +142,29 @@ The preceding code:
When a Docker Compose environment is present, all resources are automatically published as Docker Compose services — no additional opt-in is required.
### Add Docker Compose environment resource with properties
diff --git a/src/frontend/src/content/docs/integrations/compute/kubernetes.mdx b/src/frontend/src/content/docs/integrations/compute/kubernetes.mdx
index 4a12e81be..7c5f7017f 100644
--- a/src/frontend/src/content/docs/integrations/compute/kubernetes.mdx
+++ b/src/frontend/src/content/docs/integrations/compute/kubernetes.mdx
@@ -107,9 +107,29 @@ await builder.build().run();
## Configure Helm chart options