Files
skillshare/.devcontainer/devcontainer.json
T
Willie 578be7ebd9 chore(devcontainer): move docs server from port 3000 to 8888
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.
2026-05-30 19:23:12 +08:00

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"
]
}
}
}