BVector by BangDBBVector
BVector

Installation

BVector runs as a standalone server. The recommended deployment method is Docker.

Prerequisites

Docker20.10 or later
CPUx86_64 or ARM64
RAM4 GB minimum, 8 GB recommended
DiskSSD recommended for index performance
Ports18080 (API), 18082 (resource service)

Docker (recommended)

Pull the image and start the container. BVector exposes two ports: 18080 for the backend API and 18082 for the resource service.

terminal
docker pull bangdb/bvector:latest

docker run -d \
  --name bvector \
  -p 18080:18080 \
  -p 18082:18082 \
  -v $(pwd)/data:/data \
  bangdb/bvector:latest

Docker Compose

For production deployments, use Docker Compose to manage configuration and restarts:

docker-compose.yml
version: '3.8'
services:
  bvector:
    image: bangdb/bvector:latest
    ports:
      - "18080:18080"
      - "18082:18082"
    volumes:
      - ./data:/data
    environment:
      - BVECTOR_LOG_LEVEL=info
      - BVECTOR_MAX_CONNECTIONS=100
      - BVECTOR_AUTH_TOKEN=your-secret-token
    restart: unless-stopped

Verify the installation

Once the container is running, hit the health endpoint to confirm the service is up:

terminal
curl http://localhost:18080/api/v1/health
# {"status":"ok","version":"1.0.0","uptime":42}

🍪 Cookie Notice

We use cookies to ensure that we give you the best experience on our website. Read cookies policies.