From 94b0ec70912c0f89200aa3983ce85185e16e2bd0 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Mon, 8 Jun 2026 04:21:48 +0800 Subject: [PATCH] =?UTF-8?q?build(hindsight):=20=E6=B7=BB=E5=8A=A0=20Postgr?= =?UTF-8?q?eSQL=20=E7=AB=AF=E5=8F=A3=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hindsight/stack.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hindsight/stack.yml b/hindsight/stack.yml index d63a5fd..92a4e1f 100644 --- a/hindsight/stack.yml +++ b/hindsight/stack.yml @@ -11,7 +11,7 @@ # - DB 数据 bind 挂到 /home/geng/hindsight/pgdata(WSL 原生 fs,避 9P fsync 风险) # - 复用宿主 HF 缓存(bge + ms-marco 不重下) # - 镜像走南京大学 ghcr 镜像,国内拉得快 -# - 端口 8888=API, 9999=Admin UI,绑定 0.0.0.0 供 LAN VM 访问 +# - 端口 8888=API, 9999=Admin UI, 5432=PostgreSQL,绑定 0.0.0.0 供 LAN VM 访问 # ============================================================ services: @@ -29,6 +29,8 @@ services: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - ${Volumes_Path}/pgdata:/var/lib/postgresql/${HINDSIGHT_DB_VERSION:-18}/docker + ports: + - "${HINDSIGHT_DB_PORT:-5432}:5432" healthcheck: test: [