Skip to content

A simple Docker Compose setup for self-hosting the Qdrant vector database. Includes persistent storage, management scripts, and is pre-configured for easy integration with AI applications and services like n8n on a shared network.

License

Notifications You must be signed in to change notification settings

AiratTop/qdrant-self-hosted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Qdrant Self-Hosted with Docker

qdrant-self-hosted

This repository provides a docker compose setup to run a self-hosted Qdrant vector database instance.

It is configured to connect to a shared Docker network, allowing easy integration with other services like n8n.

Features

  • Uses the official Qdrant Docker image.
  • Data is persisted in a local volume.
  • Pre-configured for a shared network.
  • Includes scripts for easy management.
  • Telemetry is disabled by default.

Getting Started

  1. Clone the repository:

    git clone https://github.com/AiratTop/qdrant-self-hosted.git
    cd qdrant-self-hosted
  2. Create the shared network: If you haven't already, create the shared Docker network:

    docker network create shared_network
  3. Configure environment variables: Open the .env file and add your Qdrant API key. You can generate a random secure key.

    QDRANT_API_KEY=your-secret-api-key
    
  4. Start the service:

    docker compose up -d

Usage

  • Start: docker compose up -d
  • Restart: ./restart-docker.sh
  • Update: ./update-docker.sh (Pulls the latest Docker image and restarts)

Connecting with n8n

This setup is designed to work with the n8n-self-hosted configuration. Since both services are on the shared_network, you can connect to Qdrant from n8n using http://qdrant:6333 as the host.

See Also

Check out other self-hosted solutions:

License

This project is licensed under the MIT License - see the LICENSE file for details.


Author

AiratTop

About

A simple Docker Compose setup for self-hosting the Qdrant vector database. Includes persistent storage, management scripts, and is pre-configured for easy integration with AI applications and services like n8n on a shared network.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Languages