Files
hunjing/docker/docker-compose.yml
chenxin d3c8df79a8 🔧 chore: 本地 PostgreSQL 切换 pgvector/pg17 镜像
- 网络恢复后镜像拉取成功,替换临时 postgres:16-alpine
- 重建数据卷并重放全部迁移(12 表);vector 扩展已启用,为 WP-04 语义检索就绪
- 全量测试 26 项在新库重跑通过
2026-09-10 10:40:52 +08:00

22 lines
512 B
YAML

services:
hunjing-postgres:
image: pgvector/pgvector:pg17
container_name: hunjing-postgres
restart: unless-stopped
environment:
POSTGRES_USER: hunjing
POSTGRES_PASSWORD: hunjing_dev_password
POSTGRES_DB: hunjing
ports:
- "127.0.0.1:5432:5432"
volumes:
- hunjing-pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hunjing -d hunjing"]
interval: 5s
timeout: 3s
retries: 12
volumes:
hunjing-pgdata: