Weaviate
Configure Weaviate vector database
Configuration
weaviate:
connection_type: local
host: localhost
port: 8001
grpc_host: localhost
grpc_port: 50051
api_key: ""
Configuration Options
Field | Type | Default | Required | Description |
---|---|---|---|---|
connection_type | string | "local" | ❌ | Connection type: "local" or "custom" |
host | string | "localhost" | ❌ | HTTP host for Weaviate instance |
port | integer | 8001 | ❌ | HTTP port for Weaviate instance |
grpc_host | string | "localhost" | ❌ | gRPC host for Weaviate instance |
grpc_port | integer | 50051 | ❌ | gRPC port for Weaviate instance |
api_key | string | "" | ❌ | API key for authentication (empty for local) |
Docker Setup
services:
weaviate:
image: weaviate:1.28.3
restart: unless-stopped
ports:
- "8001:8080"
- "50051:50051"
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ENABLE_MODULES: ''
volumes:
- weaviate_data:/var/lib/weaviate
volumes:
weaviate_data:
Basic Operations
# Check health
curl http://localhost:8001/v1/.well-known/ready
# Check document count
curl http://localhost:8001/v1/objects