mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
bai
This commit is contained in:
parent
7f891939f1
commit
2bfcd227e8
|
@ -82,7 +82,7 @@ services:
|
||||||
S3_SECRET_KEY: 'sk-difyai'
|
S3_SECRET_KEY: 'sk-difyai'
|
||||||
S3_REGION: 'us-east-1'
|
S3_REGION: 'us-east-1'
|
||||||
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
|
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
|
||||||
VECTOR_STORE: weaviate
|
VECTOR_STORE: qdrant
|
||||||
# The Weaviate endpoint URL. Only available when VECTOR_STORE is `weaviate`.
|
# The Weaviate endpoint URL. Only available when VECTOR_STORE is `weaviate`.
|
||||||
WEAVIATE_ENDPOINT: http://weaviate:8080
|
WEAVIATE_ENDPOINT: http://weaviate:8080
|
||||||
# The Weaviate API key.
|
# The Weaviate API key.
|
||||||
|
@ -168,7 +168,7 @@ services:
|
||||||
STORAGE_TYPE: local
|
STORAGE_TYPE: local
|
||||||
STORAGE_LOCAL_PATH: storage
|
STORAGE_LOCAL_PATH: storage
|
||||||
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
|
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
|
||||||
VECTOR_STORE: weaviate
|
VECTOR_STORE: qdrant
|
||||||
# The Weaviate endpoint URL. Only available when VECTOR_STORE is `weaviate`.
|
# The Weaviate endpoint URL. Only available when VECTOR_STORE is `weaviate`.
|
||||||
WEAVIATE_ENDPOINT: http://weaviate:8080
|
WEAVIATE_ENDPOINT: http://weaviate:8080
|
||||||
# The Weaviate API key.
|
# The Weaviate API key.
|
||||||
|
@ -263,25 +263,25 @@ services:
|
||||||
# - "6379:6379"
|
# - "6379:6379"
|
||||||
|
|
||||||
# The Weaviate vector store.
|
# The Weaviate vector store.
|
||||||
weaviate:
|
# weaviate:
|
||||||
image: semitechnologies/weaviate:1.19.0
|
# image: semitechnologies/weaviate:1.19.0
|
||||||
restart: always
|
# restart: always
|
||||||
volumes:
|
# volumes:
|
||||||
# Mount the Weaviate data directory to the container.
|
# # Mount the Weaviate data directory to the container.
|
||||||
- ./volumes/weaviate:/var/lib/weaviate
|
# - ./volumes/weaviate:/var/lib/weaviate
|
||||||
environment:
|
# environment:
|
||||||
# The Weaviate configurations
|
# # The Weaviate configurations
|
||||||
# You can refer to the [Weaviate](https://weaviate.io/developers/weaviate/config-refs/env-vars) documentation for more information.
|
# # You can refer to the [Weaviate](https://weaviate.io/developers/weaviate/config-refs/env-vars) documentation for more information.
|
||||||
QUERY_DEFAULTS_LIMIT: 25
|
# QUERY_DEFAULTS_LIMIT: 25
|
||||||
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'false'
|
# AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'false'
|
||||||
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
|
# PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
|
||||||
DEFAULT_VECTORIZER_MODULE: 'none'
|
# DEFAULT_VECTORIZER_MODULE: 'none'
|
||||||
CLUSTER_HOSTNAME: 'node1'
|
# CLUSTER_HOSTNAME: 'node1'
|
||||||
AUTHENTICATION_APIKEY_ENABLED: 'true'
|
# AUTHENTICATION_APIKEY_ENABLED: 'true'
|
||||||
AUTHENTICATION_APIKEY_ALLOWED_KEYS: 'WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih'
|
# AUTHENTICATION_APIKEY_ALLOWED_KEYS: 'WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih'
|
||||||
AUTHENTICATION_APIKEY_USERS: 'hello@dify.ai'
|
# AUTHENTICATION_APIKEY_USERS: 'hello@dify.ai'
|
||||||
AUTHORIZATION_ADMINLIST_ENABLED: 'true'
|
# AUTHORIZATION_ADMINLIST_ENABLED: 'true'
|
||||||
AUTHORIZATION_ADMINLIST_USERS: 'hello@dify.ai'
|
# AUTHORIZATION_ADMINLIST_USERS: 'hello@dify.ai'
|
||||||
# uncomment to expose weaviate port to host
|
# uncomment to expose weaviate port to host
|
||||||
# ports:
|
# ports:
|
||||||
# - "8080:8080"
|
# - "8080:8080"
|
||||||
|
@ -290,13 +290,13 @@ services:
|
||||||
# uncomment to use qdrant as vector store.
|
# uncomment to use qdrant as vector store.
|
||||||
# (if uncommented, you need to comment out the weaviate service above,
|
# (if uncommented, you need to comment out the weaviate service above,
|
||||||
# and set VECTOR_STORE to qdrant in the api & worker service.)
|
# and set VECTOR_STORE to qdrant in the api & worker service.)
|
||||||
# qdrant:
|
qdrant:
|
||||||
# image: langgenius/qdrant:v1.7.3
|
image: langgenius/qdrant:v1.7.3
|
||||||
# restart: always
|
restart: always
|
||||||
# volumes:
|
volumes:
|
||||||
# - ./volumes/qdrant:/qdrant/storage
|
- ./volumes/qdrant:/qdrant/storage
|
||||||
# environment:
|
environment:
|
||||||
# QDRANT__API_KEY: 'difyai123456'
|
QDRANT__API_KEY: 'difyai123456'
|
||||||
# # uncomment to expose qdrant port to host
|
# # uncomment to expose qdrant port to host
|
||||||
# # ports:
|
# # ports:
|
||||||
# # - "6333:6333"
|
# # - "6333:6333"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user