Skip to content

[Feature] Deployment architecture optimization, conducive to promotion #3047

@wivw0306

Description

@wivw0306

MaxKB Version

all

Please describe your needs or suggestions for improvements

背景:
1、当前的部署方式实现了一键化部署,但是存在的问题是,每次升级都需要全量更新d1panel/maxkb:latest 镜像,体积3.6G,在有墙的情况下都要拉取很多次才能拉去下来。

改进建议:
1、将db和 python 应用分2个独立镜像进行维护。

举措:
1、将原来docker run -it xxx一键部署的方式改为docker-compose部署,新增docker-compose.yaml文件,在里面新增2个镜像配置,部署时依然是一键部署 docker-compose up -d

Please describe the solution you suggest

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions