mirror of
https://github.com/langgenius/dify.git
synced 2026-09-05 08:48:10 +08:00
chore(weaviate): upgrade bundled Weaviate server to 1.39.0
The bundled self-hosted Weaviate was pinned to 1.27.0, twelve minors behind the current release. Weaviate backports fixes to the latest patch of roughly the newest four minors, so 1.27 no longer receives them. 1.39.0 ships no breaking changes, and neither the storage format nor Dify's collection layout (Vector_index_<dataset_id>_Node, self-provided named vector "default", cosine) changes, so existing data stays forward compatible with no re-indexing. Also pulls from cr.weaviate.io, the registry Weaviate publishes to directly, and documents WEAVIATE_GRPC_ENDPOINT / EXPOSE_WEAVIATE_GRPC_PORT in the env examples — gRPC has been required since 1.27 but was never spelled out. Existing 1.27 deployments must upgrade one minor at a time; jumping straight to 1.39 is untested upstream.
This commit is contained in:
parent
dfac3e524e
commit
082691b28b
@ -231,6 +231,7 @@ VECTOR_INDEX_NAME_PREFIX=Vector_index
|
||||
|
||||
# Weaviate configuration
|
||||
WEAVIATE_ENDPOINT=http://localhost:8080
|
||||
WEAVIATE_GRPC_ENDPOINT=grpc://localhost:50051
|
||||
WEAVIATE_API_KEY=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
||||
WEAVIATE_BATCH_SIZE=100
|
||||
WEAVIATE_TOKENIZATION=word
|
||||
|
||||
@ -61,6 +61,7 @@ CONSOLE_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
||||
VECTOR_STORE=weaviate
|
||||
# Weaviate configuration
|
||||
WEAVIATE_ENDPOINT=http://localhost:8080
|
||||
WEAVIATE_GRPC_ENDPOINT=grpc://localhost:50051
|
||||
WEAVIATE_API_KEY=WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih
|
||||
WEAVIATE_BATCH_SIZE=100
|
||||
WEAVIATE_TOKENIZATION=word
|
||||
|
||||
@ -819,7 +819,7 @@ services:
|
||||
|
||||
# The Weaviate vector store.
|
||||
weaviate:
|
||||
image: semitechnologies/weaviate:1.27.0
|
||||
image: cr.weaviate.io/semitechnologies/weaviate:1.39.0
|
||||
profiles:
|
||||
- weaviate
|
||||
restart: always
|
||||
|
||||
@ -226,7 +226,7 @@ services:
|
||||
|
||||
# The Weaviate vector store.
|
||||
weaviate:
|
||||
image: semitechnologies/weaviate:1.27.0
|
||||
image: cr.weaviate.io/semitechnologies/weaviate:1.39.0
|
||||
profiles:
|
||||
- ""
|
||||
- weaviate
|
||||
|
||||
@ -825,7 +825,7 @@ services:
|
||||
|
||||
# The Weaviate vector store.
|
||||
weaviate:
|
||||
image: semitechnologies/weaviate:1.27.0
|
||||
image: cr.weaviate.io/semitechnologies/weaviate:1.39.0
|
||||
profiles:
|
||||
- weaviate
|
||||
restart: always
|
||||
|
||||
@ -147,6 +147,7 @@ EXPOSE_REDIS_PORT=6379
|
||||
EXPOSE_SANDBOX_PORT=8194
|
||||
EXPOSE_SSRF_PROXY_PORT=3128
|
||||
EXPOSE_WEAVIATE_PORT=8080
|
||||
EXPOSE_WEAVIATE_GRPC_PORT=50051
|
||||
|
||||
# ------------------------------
|
||||
# Plugin Daemon Configuration
|
||||
|
||||
Loading…
Reference in New Issue
Block a user