docker-compose增加jeecg-boot-pgvector

pull/8300/merge
JEECG 2025-07-31 22:47:01 +08:00
parent 23cc569a47
commit 676fffa2c8
4 changed files with 42 additions and 3 deletions

View File

@ -32,6 +32,19 @@ services:
networks: networks:
- jeecg-boot - jeecg-boot
jeecg-boot-pgvector:
image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/pgvector
container_name: jeecg-boot-pgvector
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: vector_db
ports:
- 5432:5432
restart: always
networks:
- jeecg-boot
jeecg-boot-nacos: jeecg-boot-nacos:
restart: always restart: always
build: build:

View File

@ -32,6 +32,19 @@ services:
networks: networks:
- jeecg-boot - jeecg-boot
jeecg-boot-pgvector:
image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/pgvector
container_name: jeecg-boot-pgvector
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: vector_db
ports:
- 5432:5432
restart: always
networks:
- jeecg-boot
jeecg-boot-system: jeecg-boot-system:
build: build:
context: ./jeecg-boot/jeecg-module-system/jeecg-system-start context: ./jeecg-boot/jeecg-module-system/jeecg-system-start

View File

@ -18,7 +18,7 @@ services:
--max_allowed_packet=128M --max_allowed_packet=128M
--default-authentication-plugin=caching_sha2_password --default-authentication-plugin=caching_sha2_password
ports: ports:
- 3306:3306 - 13306:3306
networks: networks:
- jeecg-boot - jeecg-boot
@ -32,6 +32,19 @@ services:
networks: networks:
- jeecg-boot - jeecg-boot
jeecg-boot-pgvector:
image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/pgvector
container_name: jeecg-boot-pgvector
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: vector_db
ports:
- 5432:5432
restart: always
networks:
- jeecg-boot
jeecg-boot-system: jeecg-boot-system:
build: build:
context: ./jeecg-module-system/jeecg-system-start context: ./jeecg-module-system/jeecg-system-start

View File

@ -197,9 +197,9 @@ jeecg:
# AIRag向量库 # AIRag向量库
ai-rag: ai-rag:
embed-store: embed-store:
host: 127.0.0.1 host: jeecg-boot-pgvector
port: 5432 port: 5432
database: postgres database: vector_db
user: postgres user: postgres
password: postgres password: postgres
table: embeddings table: embeddings