websoft9/docs/architecture.md

48 lines
1.1 KiB
Markdown
Raw Normal View History

2023-07-19 09:43:02 +00:00
## Architecture
2023-05-30 03:12:10 +00:00
2023-07-19 09:43:02 +00:00
```mermaid
graph LR
Portainer --> NginxProxyManager --> Redis --> APPMANAGE
```
2023-05-30 04:20:17 +00:00
2023-05-30 03:12:10 +00:00
## 详细
### 微服务
存在的微服务以及选型:
- Cockpit(Monitor,SSH Ternimal,File Browser)
- Cockpit plugins(Nodejs web)
- Container Manager(portainer container)
- Proxy&DNS(nginxproxymanager container)
- backup(kopia container)
- appstore(appmanager container)
- API gateway: Kong待定
- CLI待定
### 基础组件
技术选型如下:
- 前端Nodejs, react, cockpit app
- 后端Python, Docker, Docker-compose, FastAPI
- API DOCS 生成与测试swagger
- 安全pwgen随机密码md5(htpasswd)
- 身份验证:(待定)
- CLI待定
### 产品文件目录
便于升级、便于用户使用的产品文件目录组织结构
- 微服务容器:/stackhub/docker
- Cockpit 插件:/stackhub/cockpit
- 安装和升级脚本: /stackhub/install
- Appstore 后台源码: /stackhub/appmanage
- cli: /stackhub/cli(待定)
### Contributor
- 类型标签Bug, enhancement, Documetation
- 过程标签PRD, Dev, QA(include deployment), Documetation