Skip to content

Commit

Permalink
Merge pull request #78 from ic4l4s9c/feat/qdrant
Browse files Browse the repository at this point in the history
feat: qdrant service
  • Loading branch information
av authored Nov 9, 2024
2 parents 2a63e5f + 4de9794 commit 7a576f6
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,6 @@ dist/
# Open WebUI Pipelines
pipelines/
!pipelines/override.env

# Qdrant
qdrant/storage
27 changes: 27 additions & 0 deletions compose.qdrant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
services:
qdrant:
image: qdrant/qdrant:${HARBOR_QDRANT_VERSION}
env_file:
- ./.env
- ./qdrant/override.env
container_name: ${HARBOR_CONTAINER_PREFIX}.qdrant
volumes:
- ./qdrant/storage:/qdrant/storage
entrypoint: ["/qdrant/entrypoint.sh"]
ports:
- ${HARBOR_QDRANT_HOST_PORT}:6333
- ${HARBOR_QDRANT_HOST_GRPC_PORT}:6334
environment:
- QDRANT__SERVICE__API_KEY=${HARBOR_QDRANT_API_KEY}
- QDRANT__SERVICE__READ_ONLY_API_KEY=${HARBOR_QDRANT_READ_ONLY_API_KEY}
- QDRANT__SERVICE__JWT_RBAC=${HARBOR_QDRANT_JWT_RBAC}
- QDRANT__TELEMETRY_DISABLED=${HARBOR_QDRANT_DISABLE_TELEMETRY}
- QDRANT__LOG_LEVEL=${HARBOR_QDRANT_LOG_LEVEL}
healthcheck:
test: ["CMD", "bash", "-c", ":> /dev/tcp/127.0.0.1/6333"]
interval: 1s
timeout: 3s
retries: 10
start_period: 20s
networks:
- harbor-network
9 changes: 9 additions & 0 deletions profiles/default.env
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ HARBOR_CHATNIO_REDIS_VERSION="latest"
HARBOR_CHATNIO_IMAGE="programzmh/chatnio"
HARBOR_CHATNIO_VERSION="latest"

# Qdrant
HARBOR_QDRANT_HOST_PORT=34221
HARBOR_QDRANT_HOST_GRPC_PORT=34222
HARBOR_QDRANT_VERSION="latest"
HARBOR_QDRANT_API_KEY="4f81ba2b82664d63cc6af620f0cd1ba46e5894c2f4f148a94ec96c2c70ac5690"
HARBOR_QDRANT_READ_ONLY_API_KEY="ce103bf74f5de30d192b3b0151eeef95ba50ba99a87cc9c3ccf00ada033290db"
HARBOR_QDRANT_JWT_RBAC=true
HARBOR_QDRANT_DISABLE_TELEMETRY=true
HARBOR_QDRANT_LOG_LEVEL="INFO"

# ============================================
# Service Configuration.
Expand Down
3 changes: 3 additions & 0 deletions qdrant/override.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file can be used for additional environment variables
# specifically for the "qdrant" service and CLI.
# You can also use the "harbor env" command to set these variables.

0 comments on commit 7a576f6

Please sign in to comment.