mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 19:49:04 +08:00
milvus docker compose env (#1306)
Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
parent
5003db987d
commit
f191b8b8d1
@ -50,7 +50,7 @@ S3_REGION=your-region
|
|||||||
WEB_API_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
WEB_API_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
||||||
CONSOLE_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
CONSOLE_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*
|
||||||
|
|
||||||
# Vector database configuration, support: weaviate, qdrant
|
# Vector database configuration, support: weaviate, qdrant, milvus
|
||||||
VECTOR_STORE=weaviate
|
VECTOR_STORE=weaviate
|
||||||
|
|
||||||
# Weaviate configuration
|
# Weaviate configuration
|
||||||
|
@ -78,7 +78,7 @@ services:
|
|||||||
S3_ACCESS_KEY: 'ak-difyai'
|
S3_ACCESS_KEY: 'ak-difyai'
|
||||||
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`.
|
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
|
||||||
VECTOR_STORE: weaviate
|
VECTOR_STORE: weaviate
|
||||||
# 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
|
||||||
@ -88,6 +88,17 @@ services:
|
|||||||
QDRANT_URL: http://qdrant:6333
|
QDRANT_URL: http://qdrant:6333
|
||||||
# The Qdrant API key.
|
# The Qdrant API key.
|
||||||
QDRANT_API_KEY: difyai123456
|
QDRANT_API_KEY: difyai123456
|
||||||
|
# Milvus configuration Only available when VECTOR_STORE is `milvus`.
|
||||||
|
# The milvus host.
|
||||||
|
MILVUS_HOST: 127.0.0.1
|
||||||
|
# The milvus host.
|
||||||
|
MILVUS_PORT: 19530
|
||||||
|
# The milvus username.
|
||||||
|
MILVUS_USER: root
|
||||||
|
# The milvus password.
|
||||||
|
MILVUS_PASSWORD: Milvus
|
||||||
|
# The milvus tls switch.
|
||||||
|
MILVUS_SECURE: false
|
||||||
# Mail configuration, support: resend
|
# Mail configuration, support: resend
|
||||||
MAIL_TYPE: ''
|
MAIL_TYPE: ''
|
||||||
# default send from email address, if not specified
|
# default send from email address, if not specified
|
||||||
@ -145,7 +156,7 @@ services:
|
|||||||
# The type of storage to use for storing user files. Supported values are `local` and `s3`, Default: `local`
|
# The type of storage to use for storing user files. Supported values are `local` and `s3`, Default: `local`
|
||||||
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`.
|
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
|
||||||
VECTOR_STORE: weaviate
|
VECTOR_STORE: weaviate
|
||||||
# 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
|
||||||
@ -155,6 +166,17 @@ services:
|
|||||||
QDRANT_URL: http://qdrant:6333
|
QDRANT_URL: http://qdrant:6333
|
||||||
# The Qdrant API key.
|
# The Qdrant API key.
|
||||||
QDRANT_API_KEY: difyai123456
|
QDRANT_API_KEY: difyai123456
|
||||||
|
# Milvus configuration Only available when VECTOR_STORE is `milvus`.
|
||||||
|
# The milvus host.
|
||||||
|
MILVUS_HOST: 127.0.0.1
|
||||||
|
# The milvus host.
|
||||||
|
MILVUS_PORT: 19530
|
||||||
|
# The milvus username.
|
||||||
|
MILVUS_USER: root
|
||||||
|
# The milvus password.
|
||||||
|
MILVUS_PASSWORD: Milvus
|
||||||
|
# The milvus tls switch.
|
||||||
|
MILVUS_SECURE: false
|
||||||
# Mail configuration, support: resend
|
# Mail configuration, support: resend
|
||||||
MAIL_TYPE: ''
|
MAIL_TYPE: ''
|
||||||
# default send from email address, if not specified
|
# default send from email address, if not specified
|
||||||
|
Loading…
x
Reference in New Issue
Block a user