diff --git a/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-05 09-11-59 UTC [82f0204e07].md b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-05 09-11-59 UTC [82f0204e07].md new file mode 100644 index 0000000..bd2241b --- /dev/null +++ b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-05 09-11-59 UTC [82f0204e07].md @@ -0,0 +1,31 @@ +--- +title: Checkpoint 2026-11-05 09:11:59 UTC [82f0204e07] +type: checkpoint +permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/checkpoint-2026-11-05-09-11-59-utc-82f0204e07 +stable_id: 5345567c-a3fb-4ae5-83c0-066ae0c2a8d3 +scope: project +memory_type: checkpoint +project_id: d5a7f581-c442-4554-87b9-ee723b8b0258 +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: share-postgres-18-6-20261105 +created_at: '2026-11-05T09:11:59.062513+00:00' +updated_at: '2026-11-05T09:11:59.062513+00:00' +tags: +- production +- postgres +- decomeval +--- + +已完成 +- 公共 PostgreSQL 容器 SharePostgres,镜像 postgres:18.6(本机从 DaoCloud 拉取后上传,服务器不能访问外网)。数据卷 share-postgres-18,挂载点是 /var/lib/postgresql。18 版镜像不能再把数据卷挂到 /var/lib/postgresql/data。网络是 metrix-shared,并接入 metrix-app-decomeval。没有映射宿主机端口。 +- DecomEval 的库和账号都是 decomeval,11 张表已从原来的库复制过去。应用环境变量 DECOM_DB_HOST=SharePostgres。页面 200,公共库上有 8 个连接。 +- 原来的容器 metrix-app-decomeval-postgres 已删除。数据卷 metrix-app-decomeval-pgdata 和 16 版公共卷 share-postgres-data 都留着。 +- 口令只在密码库:「公共 PostgreSQL(SharePostgres)」和「DecomEval 数据库(SharePostgres)」。 +- Metrix 6b77c67 已上线。应用托管不再为每个应用启动 PostgreSQL,部署页去掉了启用开关。新容器会加入 metrix-shared,所以能解析主机名 SharePostgres。已推送 feat/app-hosting。DecomEval 1eccaa0 已推送 feat/metrix-hosting,应用包不再声明平台启动数据库;正在跑的镜像仍是 0.1.0-cf63388,连接靠环境变量。 + +给下个会话 +- 不要删除 metrix-app-decomeval-pgdata 和 share-postgres-data,确认不需要回退后再说。 +- 新应用要自己配置数据库连接。用这台公共库时,主机名是 SharePostgres,并为它单独建库和账号。 +- 不要动 capacityrepost 和 ShareMySQL。 \ No newline at end of file