diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 003fc65..b3eddbb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,5 +17,11 @@ "ghcr.io/devcontainers/features/github-cli:1": { } + }, + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openBrowserOnce" + } } } diff --git a/.devcontainer/gpu-webui/devcontainer.json b/.devcontainer/gpu-webui/devcontainer.json index 4219f74..70804d9 100644 --- a/.devcontainer/gpu-webui/devcontainer.json +++ b/.devcontainer/gpu-webui/devcontainer.json @@ -37,5 +37,15 @@ "COMMANDLINE_ARGS": "--nowebui --cors-allow-origins=http://localhost:3000", "venv_dir": "/home/node/.webui-venv" }, - "runArgs": ["--gpus", "all"] + "runArgs": ["--gpus", "all"], + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openBrowserOnce" + }, + "7861": { + "label": "Backend", + "onAutoForward": "ignore" + } + } }