From db61398dce5f29c61a6ec8ff40816ccb7bcbba28 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Mon, 8 Jun 2026 03:03:29 +0800 Subject: [PATCH] =?UTF-8?q?chore(hindsight):=20=E4=BD=BF=E7=94=A8=20Volume?= =?UTF-8?q?s=5FPath=20=E6=9B=BF=E4=BB=A3=E7=A1=AC=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hindsight/env.cfg.example | 2 +- hindsight/stack.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hindsight/env.cfg.example b/hindsight/env.cfg.example index 98edfe7..e8e9b2b 100644 --- a/hindsight/env.cfg.example +++ b/hindsight/env.cfg.example @@ -18,7 +18,7 @@ HINDSIGHT_DB_NAME=hindsight_db # 宿主机数据卷路径(**必须 WSL/Linux ext4 原生 fs**,不能放 /mnt/9P) # bind 挂载 PostgreSQL 数据;放在 ~/hindsight/pgdata 而非 /mnt/d/mydata/, # 因为 9P drvfs 的 fsync 不可靠,会导致 PG 数据损坏。 -Volumes_Path=/home/geng/hindsight +Volumes_Path=/data/Volumes/hindsight # 服务端口(宿主机:容器) HINDSIGHT_API_PORT=8888 diff --git a/hindsight/stack.yml b/hindsight/stack.yml index 56cc579..8af68d8 100644 --- a/hindsight/stack.yml +++ b/hindsight/stack.yml @@ -61,7 +61,7 @@ services: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro # 复用宿主 HF 缓存,bge + ms-marco 不重下 - - /home/geng/.cache/huggingface:/home/hindsight/.cache/huggingface + - {Volumes_Path}/huggingface:/home/hindsight/.cache/huggingface - ${Volumes_Path}/backups:/home/hindsight/backups networks: - hindsight-net