mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +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.
36 lines
962 B
YAML
36 lines
962 B
YAML
# Devcontainer-only service: no profile restriction, stays alive for VS Code attach.
|
|
# Reuses the same Dockerfile and volume setup as sandbox-dev.
|
|
name: skillshare_devcontainer
|
|
|
|
services:
|
|
skillshare-devcontainer:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/sandbox/Dockerfile
|
|
working_dir: /workspace
|
|
command: sleep infinity
|
|
environment:
|
|
HOME: /home/developer
|
|
GOCACHE: /go/build-cache
|
|
GITHUB_TOKEN: ${GITHUB_TOKEN:-}
|
|
GITLAB_TOKEN: ${GITLAB_TOKEN:-}
|
|
BITBUCKET_TOKEN: ${BITBUCKET_TOKEN:-}
|
|
BITBUCKET_USERNAME: ${BITBUCKET_USERNAME:-}
|
|
SKILLSHARE_GIT_TOKEN: ${SKILLSHARE_GIT_TOKEN:-}
|
|
ports:
|
|
- "5173:5173"
|
|
- "19420:19420"
|
|
- "8888:8888"
|
|
volumes:
|
|
- ..:/workspace
|
|
- go-mod-cache:/go/pkg/mod
|
|
- go-build-cache:/go/build-cache
|
|
- dev-home:/home/developer
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
volumes:
|
|
go-mod-cache:
|
|
go-build-cache:
|
|
dev-home:
|