From dbc8c2680e410b861d307bcf8ddb0fbff82ac7c7 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Wed, 16 Nov 2022 16:21:05 +0000 Subject: [PATCH] List port 5000 for Smtp4Dev --- .devcontainer/devcontainer.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2ff07fb4e3..dcada3212a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,6 +6,7 @@ "service": "app", "workspaceFolder": "/workspace", + // Set *default* container specific settings.json values on container create. "settings": { "omnisharp.defaultLaunchSolution": "umbraco.sln", @@ -38,6 +39,12 @@ // This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done "updateContentCommand": "dotnet build umbraco.sln && dotnet dev-certs https --trust && sudo apt-get update && sudo apt install sqlite3", + + // Port needed to help discover SMTP4Dev + "forwardPorts": [ + 5000 + ], + "portsAttributes": { "5000": { "label": "SMTP4Dev", @@ -61,7 +68,7 @@ ".github/codespaces-readme.md" ] } - } + } // [Optional] To reuse of your local HTTPS dev cert: //