backend.ai
backend.ai copied to clipboard
feat: update codespaces bootstrap script
This PR updates codespace bootstrap script to reflect updated monorepo setup.
This resolves #499.
- Let's explicitly add a handful range (about 10?) of forwarded TCP ports for wsproxy and explicitly configure the wsproxy worker port range as well (for v1).
This can't be achieved within current webui's wsproxy implementation:
- wsproxy randomly selects listening ports (lablup/backend.ai-webui#1389) Additionally, using wsproxy on vscode web won't work, as codespace launched on web distinguishes traffic to designated port from subdomain, not by port.
I'll add port 10200~10209 as exported port on devcontainer.json
for desktop VSCode users.
Relevant document updates will be followed after this PR is merged, on a separate PR.

Also let's add the ssh feature config: https://github.com/cli/cli/pull/6019/files