Files
ruflo/archive/infrastructure/docker
rUvandClaude d08abc6e49 feat: complete SQLite memory system implementation for v2.0.4
This commit brings v2.0.4 changes to main without problematic SQLite database files:

### 🗄️ SQLite Memory System
- Enhanced SQLite Schema with 12 specialized tables
- Persistent storage in .swarm/memory.db with WAL mode
- Cross-session persistence for Claude Code sessions
- Namespace support for organized memory management

### 🔧 MCP Server Integration
- EnhancedMemory class extending SqliteMemoryStore
- 14 Hook types for comprehensive operation tracking
- Memory synchronization between CLI and MCP tools
- Robust error handling and database integrity

### 📁 Project Organization
- Archive legacy systems to archive/legacy-memory-system
- Clean root structure for better maintainability
- Updated documentation reflecting SQLite architecture

### 🔗 NPM Package Updates
- Include memory JS/SQL files in distribution
- MCP server files included in npm package
- Version updated to 2.0.0-alpha.42

### ⚙️ Configuration Updates
- .gitignore excludes SQLite database files
- .npmignore includes necessary memory components
- CLI version consistency at 2.0.0-alpha.42

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 05:01:13 +00:00
..

Docker Infrastructure

This directory contains Docker configurations for Claude Flow.

Files

  • Dockerfile: Main Docker image definition for Claude Flow
  • docker-compose.yml: Complete stack configuration including:
    • Claude Flow main service
    • MCP Server
    • ruv-swarm integration
    • Development environment
    • Test runner

Directory Structure

  • testing/: Docker-based testing infrastructure
    • Contains test-specific Docker configurations
    • Automated testing scripts
    • Performance monitoring tools

Quick Start

Build and Run

# Build all services
docker-compose build

# Start all services
docker-compose up -d

# View logs
docker-compose logs -f

# Stop all services
docker-compose down

Development

# Start development environment
docker-compose run --rm dev bash

# Run tests
docker-compose run --rm test

Environment Variables

Required environment variables:

  • GITHUB_TOKEN: GitHub access token
  • NODE_ENV: Environment (production/development/test)
  • MCP_SERVER_URL: MCP server URL (default: http://mcp-server:3001)

Services

claude-flow

  • Main Claude Flow service
  • Port: 3000
  • Volume: claude-flow-data

mcp-server

  • MCP Server for Claude Flow
  • Port: 3001
  • Volume: mcp-data

ruv-swarm

  • ruv-swarm integration service
  • Depends on: claude-flow, mcp-server
  • Volume: swarm-data

dev

  • Development environment with hot reload
  • Interactive shell access

test

  • Automated test runner
  • CI-friendly configuration