CRITICAL CHECKPOINT - DO NOT PUSH TO GITHUB Recovery Status: - Successfully recovered brainy.ts from compiled JavaScript - All core v3.0 API methods functional (add, get, update, delete, relate, find, etc.) - Neural subsystem intact (562KB embedded patterns, NLP working) - Augmentation pipeline operational (20+ augmentations) - HNSW clustering system complete - Triple Intelligence compiled (needs constructor fix) - Test suite validates functionality Changes preserved: - 898 files with changes from last 3 days - 144,475 insertions - All augmentation improvements - All test coverage enhancements - Complete v3.0 feature set This is a LOCAL checkpoint only - contains recovered work after corruption incident. Created backup in .backups/brainy-full-20250910-151314.tar.gz Branch: recovery-checkpoint-20250910-151433 Date: Wed Sep 10 03:18:04 PM PDT 2025
62 lines
No EOL
1.4 KiB
YAML
62 lines
No EOL
1.4 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
brainy:
|
|
build: .
|
|
container_name: brainy-app
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- BRAINY_STORAGE_TYPE=filesystem
|
|
- BRAINY_STORAGE_PATH=/app/data
|
|
- BRAINY_LOG_LEVEL=info
|
|
- BRAINY_RATE_LIMIT_MAX=100
|
|
- BRAINY_RATE_LIMIT_WINDOW_MS=900000
|
|
volumes:
|
|
# Persistent storage for data
|
|
- brainy-data:/app/data
|
|
# Optional: Mount local models directory
|
|
# - ./models:/app/models:ro
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
|
|
interval: 30s
|
|
timeout: 3s
|
|
retries: 3
|
|
start_period: 10s
|
|
restart: unless-stopped
|
|
networks:
|
|
- brainy-network
|
|
|
|
# Optional: MinIO for S3-compatible storage (development)
|
|
minio:
|
|
image: minio/minio:latest
|
|
container_name: brainy-minio
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
environment:
|
|
- MINIO_ROOT_USER=brainy
|
|
- MINIO_ROOT_PASSWORD=brainy123456
|
|
volumes:
|
|
- minio-data:/data
|
|
command: server /data --console-address ":9001"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
|
interval: 30s
|
|
timeout: 20s
|
|
retries: 3
|
|
networks:
|
|
- brainy-network
|
|
profiles:
|
|
- with-s3
|
|
|
|
volumes:
|
|
brainy-data:
|
|
driver: local
|
|
minio-data:
|
|
driver: local
|
|
|
|
networks:
|
|
brainy-network:
|
|
driver: bridge |