feat(octop): 添加多版本 Docker 部署配置

- 提供基础版、PostgreSQL/pgvector 版和完整版 Compose
- 添加环境变量模板、向量扩展初始化脚本与部署文档
This commit is contained in:
cnphpbb
2026-11-07 16:44:17 +08:00
parent e5aa5e7b14
commit 74af03b680
6 changed files with 509 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
-- =============================================================================
-- Octop — PostgreSQL 实例级初始化
--
-- 挂载到 postgres 容器 /docker-entrypoint-initdb.d/01-vector.sql
-- 仅在数据目录首次初始化(initdb)时执行一次;已存在的库不会重跑。
--
-- 说明:
-- - `vector` 扩展不属于 Octop 的控制面迁移,由本脚本在实例层创建
-- - control-plane schema 由 Octop 自身迁移(NNN_*.pg.sql)负责
-- - agent memory 表由 octop-memory 在运行时按 agent 创建
-- =============================================================================
CREATE EXTENSION IF NOT EXISTS vector;