mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-09 14:04:06 +09:00
Automatic checkpoint created by Claude Code - Branch: main - Timestamp: 2026-01-17T20:50:37Z - Changes: 6 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
# RuVector PostgreSQL Testing Environment
|
|
# Official RuVector extension from ruvnet/ruvector-postgres
|
|
#
|
|
# Features:
|
|
# - 230+ SQL functions for vector operations
|
|
# - HNSW/IVFFlat indexing with SIMD acceleration
|
|
# - Flash Attention, GNN operations
|
|
# - Hybrid search (dense + sparse)
|
|
# - Multi-tenancy support
|
|
# - Self-healing capabilities
|
|
#
|
|
# Performance: ~61µs latency, 16,400 QPS with HNSW
|
|
|
|
services:
|
|
postgres:
|
|
image: ruvnet/ruvector-postgres:latest
|
|
container_name: ruvector-postgres
|
|
environment:
|
|
POSTGRES_USER: claude
|
|
POSTGRES_PASSWORD: claude-flow-test
|
|
POSTGRES_DB: claude_flow
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./scripts/init-db.sql:/docker-entrypoint-initdb.d/01-init.sql
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U claude -d claude_flow"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
command: >
|
|
postgres
|
|
-c work_mem=256MB
|
|
-c maintenance_work_mem=512MB
|
|
|
|
# Optional: pgAdmin for visual database management
|
|
pgadmin:
|
|
image: dpage/pgadmin4:latest
|
|
container_name: ruvector-pgadmin
|
|
environment:
|
|
PGADMIN_DEFAULT_EMAIL: admin@claude-flow.local
|
|
PGADMIN_DEFAULT_PASSWORD: admin
|
|
PGADMIN_CONFIG_SERVER_MODE: 'False'
|
|
ports:
|
|
- "5050:80"
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
profiles:
|
|
- gui
|
|
|
|
volumes:
|
|
postgres_data:
|