- Complete fact-based memory API with mem0-inspired approach - Individual fact extraction and deduplication - ADD/UPDATE/DELETE memory actions - Precision search with 0.86+ similarity scores - MCP server for Claude Code integration - Neo4j graph relationships and PostgreSQL vector storage - Comprehensive documentation with architecture and API docs - Matrix communication integration - Production-ready Docker setup with Ollama and Supabase 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
68 lines
1.8 KiB
YAML
68 lines
1.8 KiB
YAML
services:
|
|
langmem-api:
|
|
build: .
|
|
container_name: langmem-api
|
|
ports:
|
|
- "8765:8765"
|
|
environment:
|
|
- OLLAMA_URL=http://localhost:11434
|
|
- SUPABASE_URL=http://localhost:8000
|
|
- SUPABASE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
|
|
- SUPABASE_DB_URL=postgresql://postgres:CzkaYmRvc26Y@localhost:5435/postgres
|
|
- NEO4J_URL=bolt://localhost:7687
|
|
- NEO4J_USER=neo4j
|
|
- NEO4J_PASSWORD=langmem_neo4j_password
|
|
- API_KEY=langmem_api_key_2025
|
|
depends_on:
|
|
- langmem-neo4j
|
|
network_mode: host
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
restart: unless-stopped
|
|
|
|
langmem-neo4j:
|
|
image: neo4j:5.15.0
|
|
container_name: langmem-neo4j
|
|
ports:
|
|
- "7474:7474"
|
|
- "7687:7687"
|
|
environment:
|
|
- NEO4J_AUTH=neo4j/langmem_neo4j_password
|
|
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
|
|
- NEO4J_dbms_security_procedures_allowlist=apoc.*
|
|
- NEO4J_apoc_export_file_enabled=true
|
|
- NEO4J_apoc_import_file_enabled=true
|
|
- NEO4J_apoc_import_file_use__neo4j__config=true
|
|
- NEO4J_PLUGINS=["apoc"]
|
|
networks:
|
|
- localai
|
|
volumes:
|
|
- neo4j_data:/data
|
|
- neo4j_logs:/logs
|
|
- neo4j_import:/var/lib/neo4j/import
|
|
- neo4j_plugins:/plugins
|
|
restart: unless-stopped
|
|
|
|
langmem-test:
|
|
build: .
|
|
container_name: langmem-test
|
|
environment:
|
|
- LANGMEM_API_URL=http://langmem-api:8765
|
|
- API_KEY=langmem_api_key_2025
|
|
command: ["python", "-m", "pytest", "tests/", "-v"]
|
|
depends_on:
|
|
- langmem-api
|
|
networks:
|
|
- localai
|
|
profiles:
|
|
- testing
|
|
|
|
volumes:
|
|
neo4j_data:
|
|
neo4j_logs:
|
|
neo4j_import:
|
|
neo4j_plugins:
|
|
|
|
networks:
|
|
localai:
|
|
external: true |