mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Port 3000 collides with other local services, blocking the devcontainer from starting. Move the Docusaurus docs server to 8888 across the docs script, dev-servers orchestration, compose port mapping, and forwarded ports/labels.
32 lines
940 B
JSON
32 lines
940 B
JSON
{
|
|
"name": "Skillshare Dev",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "skillshare-devcontainer",
|
|
"workspaceFolder": "/workspace",
|
|
"forwardPorts": [5173, 19420, 8888],
|
|
"portsAttributes": {
|
|
"5173": { "label": "Dashboard (ui)" },
|
|
"19420": { "label": "API Backend" },
|
|
"8888": { "label": "Docs (docs)" }
|
|
},
|
|
"remoteEnv": {
|
|
"PATH": "/workspace/.devcontainer/bin:/usr/local/bin:${containerEnv:PATH}",
|
|
"SKILLSHARE_UI_HOST": "0.0.0.0",
|
|
"BINARY": "/usr/local/bin/skillshare",
|
|
"SKILLSHARE_BINARY": "/usr/local/bin/skillshare",
|
|
"SKILLSHARE_TEST_BINARY": "/usr/local/bin/skillshare"
|
|
},
|
|
"postCreateCommand": ".devcontainer/setup.sh",
|
|
"postStartCommand": ".devcontainer/start-dev.sh",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"golang.go",
|
|
"bradlc.vscode-tailwindcss",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode"
|
|
]
|
|
}
|
|
}
|
|
}
|