feat: 添加以图搜图功能(CLIP ONNX + pgvector)+ Dify会话修复 + 版本升至V3.30

This commit is contained in:
DXC
2026-05-21 14:09:57 +08:00
parent 621431dcb9
commit 1a7c06f197
11 changed files with 804 additions and 25 deletions

View File

@ -2,7 +2,7 @@ version: '3.8'
services:
db:
image: postgres:15-alpine
image: pgvector/pgvector:pg15 # 换成这个
container_name: inventory_db
restart: always
environment:
@ -10,7 +10,7 @@ services:
POSTGRES_PASSWORD: 1234
POSTGRES_DB: inventory_system
volumes:
- ./pgdata_docker:/var/lib/postgresql/data
- ./pgdata_docker:/var/lib/postgresql/data # 这里保持不变Docker会自动创建这个新文件夹
ports:
- "5435:5432"
@ -41,4 +41,4 @@ services:
ports:
- "5175:5173"
depends_on:
- backend
- backend