BK-Lite Server 启动与进程依赖

BK-Lite Server 启动与进程依赖 由 Archify 生成的工作流图。 01 / 启动脚本 02 / 数据初始化 03 / 受管进程 04 / 运行期依赖 Prepare Initialize Serve 加载环境配置 · 启动脚本 › Prepare 加载环境配置 batch_init · 系统数据 · 启动脚本 › Initialize batch_init 系统数据 数据库迁移 · 写入 schema · 数据初始化 › Prepare 数据库迁移 写入 schema 创建 Cache Table · 数据初始化 › Initialize 创建 Cache Table 关系数据库 · 数据初始化 › Serve 关系数据库 Supervisor · 进程编排 · 受管进程 › Serve Supervisor 进程编排 Django ASGI · 受管进程 › Serve Django ASGI RabbitMQ / Broker · 运行期依赖 › Prepare RabbitMQ / Broker NATS 服务 · 运行期依赖 › Initialize NATS 服务 Celery Worker + Beat · 运行期依赖 › Serve Celery Worker + Beat NATS Listener · 运行期依赖 › Serve NATS Listener 允许拉起受管进程 基础设施就绪 运行期取任务 运行期 ORM 访问 读取 DB 配置 迁移完成 运行期连接 / 消费 启动异步任务进程 启动 API 服务 启动 RPC 消费进程 图例 Agent 逻辑 工具操作 上下文 / 追踪