Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
2bfcd227
Commit
2bfcd227
authored
Mar 05, 2024
by
Garfield Dai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bai
parent
7f891939
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
+28
-28
docker-compose.yaml
docker/docker-compose.yaml
+28
-28
No files found.
docker/docker-compose.yaml
View file @
2bfcd227
...
@@ -82,7 +82,7 @@ services:
...
@@ -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:
...
@@ -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:
...
@@ -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:
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment