From faaadf2346fbe59f8ef406d67a54812aa1f23dbd Mon Sep 17 00:00:00 2001 From: Will Tsai <28876888+willtsai@users.noreply.github.com> Date: Thu, 2 Nov 2023 17:32:37 -0700 Subject: [PATCH] dapr tutorial port fix Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com> --- docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep b/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep index d22852364..aca2a124b 100644 --- a/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep +++ b/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep @@ -59,6 +59,8 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = { env: { // An environment variable to tell the frontend container where to find the backend CONNECTION_BACKEND_APPID: 'backend' + // An environment variable to override the default port that .NET Core listens on + ASPNETCORE_URLS: 'http://*:8080' } // The frontend container exposes port 8080, which is used to serve the UI ports: {