|
|
|
@ -121,9 +121,9 @@ services:
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
# Mount the storage directory to the container, for storing user files.
|
|
|
|
# Mount the storage directory to the container, for storing user files.
|
|
|
|
- ./volumes/app/storage:/app/api/storage
|
|
|
|
- ./volumes/app/storage:/app/api/storage
|
|
|
|
# uncomment to expose dify-api port to host
|
|
|
|
# uncomment to expose dify-api port to host
|
|
|
|
# ports:
|
|
|
|
# ports:
|
|
|
|
# - "5001:5001"
|
|
|
|
# - "5001:5001"
|
|
|
|
|
|
|
|
|
|
|
|
# worker service
|
|
|
|
# worker service
|
|
|
|
# The Celery worker for processing the queue.
|
|
|
|
# The Celery worker for processing the queue.
|
|
|
|
@ -210,9 +210,9 @@ services:
|
|
|
|
APP_API_URL: ''
|
|
|
|
APP_API_URL: ''
|
|
|
|
# The DSN for Sentry error reporting. If not set, Sentry error reporting will be disabled.
|
|
|
|
# The DSN for Sentry error reporting. If not set, Sentry error reporting will be disabled.
|
|
|
|
SENTRY_DSN: ''
|
|
|
|
SENTRY_DSN: ''
|
|
|
|
# uncomment to expose dify-web port to host
|
|
|
|
# uncomment to expose dify-web port to host
|
|
|
|
# ports:
|
|
|
|
# ports:
|
|
|
|
# - "3000:3000"
|
|
|
|
# - "3000:3000"
|
|
|
|
|
|
|
|
|
|
|
|
# The postgres database.
|
|
|
|
# The postgres database.
|
|
|
|
db:
|
|
|
|
db:
|
|
|
|
@ -247,9 +247,9 @@ services:
|
|
|
|
command: redis-server --requirepass difyai123456
|
|
|
|
command: redis-server --requirepass difyai123456
|
|
|
|
healthcheck:
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "redis-cli","ping"]
|
|
|
|
test: ["CMD", "redis-cli","ping"]
|
|
|
|
# uncomment to expose redis port to host
|
|
|
|
# uncomment to expose redis port to host
|
|
|
|
# ports:
|
|
|
|
# ports:
|
|
|
|
# - "6379:6379"
|
|
|
|
# - "6379:6379"
|
|
|
|
|
|
|
|
|
|
|
|
# The Weaviate vector store.
|
|
|
|
# The Weaviate vector store.
|
|
|
|
weaviate:
|
|
|
|
weaviate:
|
|
|
|
@ -271,24 +271,24 @@ services:
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
|
|
# Qdrant vector store.
|
|
|
|
# Qdrant vector store.
|
|
|
|
# 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:latest
|
|
|
|
# image: langgenius/qdrant:latest
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
|
|
|
|
# The nginx reverse proxy.
|
|
|
|
# The nginx reverse proxy.
|
|
|
|
# used for reverse proxying the API service and Web service.
|
|
|
|
# used for reverse proxying the API service and Web service.
|
|
|
|
|