From e624c7486a43b4f81ca3007f2570c4d1de53454a Mon Sep 17 00:00:00 2001 From: revanth-banala Date: Sat, 11 Jan 2025 00:04:08 +0000 Subject: [PATCH] fix: FORMS-1703 Added Tags to port numbers and removed unused port number 8081 --- .devcontainer/devcontainer.json | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f0f89f5af..6e757e93c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -21,13 +21,12 @@ // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [ + 4222, // NATS Server 1 + 4223, // NATS Server 2 + 4224, // NATS Server 3 5173, // CHEFS Frontend 5432, // PostgreSQL - 8080, // CHEFS Backend - 8081, - 4222, //nats - 4223, //nats - 4224 // nats + 8080 // CHEFS Backend ], // Use 'postCreateCommand' to run commands after the container is created. @@ -57,5 +56,22 @@ "containerEnv": { "NODE_CONFIG_DIR": "${containerWorkspaceFolder}/.devcontainer/chefs_local" + }, + "portsAttributes": { + "4222": { + "label": "NATS Server 1" + }, + "4223": { + "label": "NATS Server 2" + }, + "4224": { + "label": "NATS Server 3" + }, + "5432": { + "label": "PostgreSQL" + }, + "8080": { + "label": "CHEFS Backend" + } } }