Skip to content

Commit

Permalink
chore(docker-compose): use proper comment indentation for users to ea…
Browse files Browse the repository at this point in the history
…sily toggle on and off features (#1648)

Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww authored Nov 30, 2023
1 parent 4322b17 commit 0e04fcc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
24 changes: 12 additions & 12 deletions docker/docker-compose.middleware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ services:
- "8080:8080"

# Qdrant vector store.
# uncomment to use qdrant as vector store.
# (if uncommented, you need to comment out the weaviate service above,
# and set VECTOR_STORE to qdrant in the api & worker service.)
# qdrant:
# image: qdrant/qdrant:latest
# restart: always
# volumes:
# - ./volumes/qdrant:/qdrant/storage
# environment:
# QDRANT__API_KEY: 'difyai123456'
# ports:
# - "6333:6333"
# uncomment to use qdrant as vector store.
# (if uncommented, you need to comment out the weaviate service above,
# and set VECTOR_STORE to qdrant in the api & worker service.)
# qdrant:
# image: qdrant/qdrant:latest
# restart: always
# volumes:
# - ./volumes/qdrant:/qdrant/storage
# environment:
# QDRANT__API_KEY: 'difyai123456'
# ports:
# - "6333:6333"
50 changes: 25 additions & 25 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ services:
volumes:
# Mount the storage directory to the container, for storing user files.
- ./volumes/app/storage:/app/api/storage
# uncomment to expose dify-api port to host
# ports:
# - "5001:5001"
# uncomment to expose dify-api port to host
# ports:
# - "5001:5001"

# worker service
# The Celery worker for processing the queue.
Expand Down Expand Up @@ -210,9 +210,9 @@ services:
APP_API_URL: ''
# The DSN for Sentry error reporting. If not set, Sentry error reporting will be disabled.
SENTRY_DSN: ''
# uncomment to expose dify-web port to host
# ports:
# - "3000:3000"
# uncomment to expose dify-web port to host
# ports:
# - "3000:3000"

# The postgres database.
db:
Expand Down Expand Up @@ -247,9 +247,9 @@ services:
command: redis-server --requirepass difyai123456
healthcheck:
test: ["CMD", "redis-cli","ping"]
# uncomment to expose redis port to host
# ports:
# - "6379:6379"
# uncomment to expose redis port to host
# ports:
# - "6379:6379"

# The Weaviate vector store.
weaviate:
Expand All @@ -271,24 +271,24 @@ services:
AUTHENTICATION_APIKEY_USERS: '[email protected]'
AUTHORIZATION_ADMINLIST_ENABLED: 'true'
AUTHORIZATION_ADMINLIST_USERS: '[email protected]'
# uncomment to expose weaviate port to host
# ports:
# - "8080:8080"
# uncomment to expose weaviate port to host
# ports:
# - "8080:8080"

# Qdrant vector store.
# uncomment to use qdrant as vector store.
# (if uncommented, you need to comment out the weaviate service above,
# and set VECTOR_STORE to qdrant in the api & worker service.)
# qdrant:
# image: langgenius/qdrant:latest
# restart: always
# volumes:
# - ./volumes/qdrant:/qdrant/storage
# environment:
# QDRANT__API_KEY: 'difyai123456'
## uncomment to expose qdrant port to host
## ports:
## - "6333:6333"
# uncomment to use qdrant as vector store.
# (if uncommented, you need to comment out the weaviate service above,
# and set VECTOR_STORE to qdrant in the api & worker service.)
# qdrant:
# image: langgenius/qdrant:latest
# restart: always
# volumes:
# - ./volumes/qdrant:/qdrant/storage
# environment:
# QDRANT__API_KEY: 'difyai123456'
# # uncomment to expose qdrant port to host
# # ports:
# # - "6333:6333"

# The nginx reverse proxy.
# used for reverse proxying the API service and Web service.
Expand Down

0 comments on commit 0e04fcc

Please sign in to comment.