Requirements

Installation

QDRANT__SERVICE__API_KEY is a required environment variable

You can generate a random 32-byte hex string using the following command:

openssl rand -hex 32

Copy and paste the generated string to replace #REPLACE_ME# in the docker-compose.yml file.

Create the docker-compose.yml file, and replace #REPLACE_ME#

version: "3.8"
services:
  qdrant:
    image: langgenius/qdrant:v1.7.3
    network_mode: "host"
    restart: always
    volumes:
      - /data/qdrant/data/:/qdrant/storage
    environment:
      QDRANT__SERVICE__API_KEY: #REPLACE_ME#

Start the qdrant service

docker-compose up -d