forked from DevOps/deploy.stack
build(hindsight): 添加 PostgreSQL 端口映射
This commit is contained in:
@@ -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:
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user