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