mirror of
https://github.com/langgenius/dify.git
synced 2025-12-19 17:27:16 -05:00
Co-authored-by: crazywoola <427733928@qq.com> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -24,6 +24,13 @@ services:
|
||||
volumes:
|
||||
# Mount the storage directory to the container, for storing user files.
|
||||
- ./volumes/app/storage:/app/api/storage
|
||||
# TODO: Remove this entrypoint override when weaviate-client 4.17.0 is included in the next Dify release
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
uv pip install --system weaviate-client==4.17.0
|
||||
exec /bin/bash /app/api/docker/entrypoint.sh
|
||||
networks:
|
||||
- ssrf_proxy_network
|
||||
- default
|
||||
@@ -51,6 +58,13 @@ services:
|
||||
volumes:
|
||||
# Mount the storage directory to the container, for storing user files.
|
||||
- ./volumes/app/storage:/app/api/storage
|
||||
# TODO: Remove this entrypoint override when weaviate-client 4.17.0 is included in the next Dify release
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
uv pip install --system weaviate-client==4.17.0
|
||||
exec /bin/bash /app/api/docker/entrypoint.sh
|
||||
networks:
|
||||
- ssrf_proxy_network
|
||||
- default
|
||||
@@ -331,7 +345,6 @@ services:
|
||||
weaviate:
|
||||
image: semitechnologies/weaviate:1.27.0
|
||||
profiles:
|
||||
- ""
|
||||
- weaviate
|
||||
restart: always
|
||||
volumes:
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
services:
|
||||
api:
|
||||
volumes:
|
||||
- ../api/core/rag/datasource/vdb/weaviate/weaviate_vector.py:/app/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py:ro
|
||||
command: >
|
||||
sh -c "
|
||||
pip install --no-cache-dir 'weaviate>=4.0.0' &&
|
||||
/bin/bash /entrypoint.sh
|
||||
"
|
||||
@@ -631,6 +631,13 @@ services:
|
||||
volumes:
|
||||
# Mount the storage directory to the container, for storing user files.
|
||||
- ./volumes/app/storage:/app/api/storage
|
||||
# TODO: Remove this entrypoint override when weaviate-client 4.17.0 is included in the next Dify release
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
uv pip install --system weaviate-client==4.17.0
|
||||
exec /bin/bash /app/api/docker/entrypoint.sh
|
||||
networks:
|
||||
- ssrf_proxy_network
|
||||
- default
|
||||
@@ -658,6 +665,13 @@ services:
|
||||
volumes:
|
||||
# Mount the storage directory to the container, for storing user files.
|
||||
- ./volumes/app/storage:/app/api/storage
|
||||
# TODO: Remove this entrypoint override when weaviate-client 4.17.0 is included in the next Dify release
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
uv pip install --system weaviate-client==4.17.0
|
||||
exec /bin/bash /app/api/docker/entrypoint.sh
|
||||
networks:
|
||||
- ssrf_proxy_network
|
||||
- default
|
||||
@@ -938,7 +952,6 @@ services:
|
||||
weaviate:
|
||||
image: semitechnologies/weaviate:1.27.0
|
||||
profiles:
|
||||
- ""
|
||||
- weaviate
|
||||
restart: always
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user