This document outlines the setup and maintenance procedures for the Qdrant vector database instance required for running tests and development.
- Docker installed and running
- Port 6333 available on localhost
- Python 3.8+ with pip
# Pull the latest Qdrant image
docker pull qdrant/qdrant:latest
# Run Qdrant container
docker run -d \
--name mcp-qdrant \
-p 6333:6333 \
-v $(pwd)/qdrant_data:/qdrant/storage \
qdrant/qdrant
# Verify the instance is running
curl http://localhost:6333/health
If using a pre-existing Qdrant instance:
- Ensure it's accessible at
localhost:6333
- Verify health status
- Configure environment variables if needed:
export QDRANT_HOST=localhost
export QDRANT_PORT=6333
from qdrant_client import QdrantClient
client = QdrantClient(host="localhost", port=6333)
health = client.health()
print(f"Qdrant health status: {health}")
- Regular health checks are automated in CI/CD pipeline
- Database backups are stored in
./qdrant_data
- Version updates should be coordinated with the team
-
If container fails to start:
# Check logs docker logs mcp-qdrant # Verify port availability lsof -i :6333
-
If connection fails:
# Restart container docker restart mcp-qdrant # Check container status docker ps -a | grep mcp-qdrant
- Primary maintainer: DevOps Team
- Documentation updates: Development Team Lead
- Testing coordination: QA Team Lead
- Document version: 1.0
- Last updated: 2025-03-24
- Next review: 2025-06-24