Docker
Docker 20.10+ and Docker Compose v2
VortexDB can be installed using Docker (recommended) or built from source. This guide covers both methods.
Docker
Docker 20.10+ and Docker Compose v2
From Source
Rust 1.88+, protobuf-compiler, clang
The fastest way to get started is using Docker:
# Clone the repositorygit clone https://github.com/sdslabs/VortexDB.gitcd VortexDB
# Copy the environment templatecp .env.example .envEdit the .env file with your settings:
# Required settingsVORTEXDB_KEYS_FILE=./keys.json # see keys.example.json for the formatDIMENSION=384 # Vector dimension (e.g., 384 for MiniLM embeddings)DATA_PATH=/data
# Optional settings (with defaults)HTTP_HOST=127.0.0.1HTTP_PORT=3000GRPC_HOST=127.0.0.1GRPC_PORT=50051STORAGE_TYPE=inmemory # inmemory | rocksdbINDEX_TYPE=flat # flat | kdtree | hnswSIMILARITY=cosine # cosine | euclidean | manhattan | hammingLOGGING=trueDISABLE_HTTP=falsedocker compose upVortexDB is now running:
sudo apt-get update && sudo apt-get install -y \ protobuf-compiler \ clang \ libclang-dev \ llvm-dev \ build-essentialbrew install protobuf llvmsudo pacman -S protobuf clang llvm# Clone the repositorygit clone https://github.com/sdslabs/VortexDB.gitcd VortexDB
# Build in release modecargo build --release
# Run the server./target/release/serverInstall the Python client to interact with VortexDB:
pip install vortexdbOr install from source:
cd client/pythonpip install -e .Check that VortexDB is running correctly:
curl http://localhost:3000/health# Response: OKfrom vortexdb import VortexDB
db = VortexDB( grpc_url="localhost:50051", api_key="your-secure-password")print("Connected successfully!")db.close()Quickstart
Insert your first vector in 60 seconds