1 Star 0 Fork 0

mamh-mixed/kubesphere-console

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.gitpod.yml 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
image:
file: .gitpod.Dockerfile
ports:
- port: 8000
onOpen: open-browser
- port: 8001
onOpen: ignore
tasks:
- init: |
git config --global user.name $GIT_AUTHOR_NAME
git config --global user.email $GIT_COMMITTER_EMAIL
[[ ! -z "${DOCKER_USER}" && ! -z "${DOCKER_PASSWD}" ]] && docker login -u${DOCKER_USER} -p${DOCKER_PASSWD}
[[ ! -z "${GITHUB_USER}" && ! -z "${GITHUB_TOKEN}" ]] && docker login ghcr.io -u${GITHUB_USER} -p${GITHUB_TOKEN}
echo kubesphere/console | gh repo fork --remote
make container container-push
cp /home/gitpod/local_config.yaml /workspace/console/server/local_config.yaml
gp open /workspace/console/server/local_config.yaml
sed 's/hostname.*:/hostname.replace("8000", "8001") :/' server/views/index.html -i
sed 's/hostname/hostname.replace("8000", "8001")/' server/components/boot.js -i
sed 's/http:/https:/' server/components/boot.js -i
sed 's/:8001//' server/components/boot.js -i
yarn
command: yarn start
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mamh-mixed/kubesphere-console.git
git@gitee.com:mamh-mixed/kubesphere-console.git
mamh-mixed
kubesphere-console
kubesphere-console
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385