List port 5000 for Smtp4Dev

This commit is contained in:
Warren Buckley
2022-11-16 16:21:05 +00:00
parent 079d2f91b9
commit dbc8c2680e

View File

@@ -6,6 +6,7 @@
"service": "app", "service": "app",
"workspaceFolder": "/workspace", "workspaceFolder": "/workspace",
// Set *default* container specific settings.json values on container create. // Set *default* container specific settings.json values on container create.
"settings": { "settings": {
"omnisharp.defaultLaunchSolution": "umbraco.sln", "omnisharp.defaultLaunchSolution": "umbraco.sln",
@@ -38,6 +39,12 @@
// This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done // 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", "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": { "portsAttributes": {
"5000": { "5000": {
"label": "SMTP4Dev", "label": "SMTP4Dev",
@@ -61,7 +68,7 @@
".github/codespaces-readme.md" ".github/codespaces-readme.md"
] ]
} }
} }
// [Optional] To reuse of your local HTTPS dev cert: // [Optional] To reuse of your local HTTPS dev cert:
// //