Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前后端代码分离 #50

Open
1 of 6 tasks
lsm1787569696 opened this issue Jan 3, 2023 · 1 comment
Open
1 of 6 tasks

前后端代码分离 #50

lsm1787569696 opened this issue Jan 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@lsm1787569696
Copy link

lsm1787569696 commented Jan 3, 2023

问题描述

重现方法

关键信息

请提供以下信息:

  • bk-cmdb 版本:
  • Redis 版本:
  • MongoDB 版本:
  • ZooKeeper 版本:
  • 操作系统 :
  • bk-cmdb 异常日志
@Ada-pro Ada-pro added this to the Sprint1 milestone Apr 11, 2023
@Ada-pro Ada-pro added the enhancement New feature or request label Apr 11, 2023
@liyanq528
Copy link
Collaborator

liyanq528 commented Apr 11, 2023

前端镜像已经推送到Habor镜像仓库,路径为:cmdb/cmdb_matedb_ui
镜像大致的制作过程为:
1,进入src/ui文件运行npm run build命令,然后会生成Dockerfile/ui/web文件夹。
2,更新Dockerfile/ui/nginx.http.conf文件,修改正确的代理路径。
3,更新Dockerfile/ui/docker-compose-build.yml文件,修改版本号。
4,在Dockerfile/ui/路径下执行docker-compose -f docker-compose-build.yml build命令
5,推送镜像至仓库

注意点:
此前由后台提供的配置数据,window.Site 信息等,已经在前端代码里面写了固定值,如果需要动态变动,考虑新增API来进行数据的读取。

遗留问题:
尚未用Helm部署到K8S集群。

PR #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants