feat: 添加以图搜图功能(CLIP ONNX + pgvector)+ Dify会话修复 + 版本升至V3.30
This commit is contained in:
@ -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
|
||||
Reference in New Issue
Block a user