- Configure mem0 to use self-hosted Supabase instead of Qdrant for vector storage - Update docker-compose to connect containers to localai network - Install vecs library for Supabase pgvector integration - Create comprehensive test suite for Supabase + mem0 integration - Update documentation to reflect Supabase configuration - All containers now connected to shared localai network - Successful vector storage and retrieval tests completed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
services:
|
|
neo4j:
|
|
image: neo4j:5.23
|
|
container_name: mem0-neo4j
|
|
restart: unless-stopped
|
|
ports:
|
|
- "7474:7474" # HTTP
|
|
- "7687:7687" # Bolt
|
|
environment:
|
|
- NEO4J_AUTH=neo4j/mem0_neo4j_password_2025
|
|
- NEO4J_PLUGINS=["apoc"]
|
|
- 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
|
|
volumes:
|
|
- neo4j_data:/data
|
|
- neo4j_logs:/logs
|
|
- neo4j_import:/var/lib/neo4j/import
|
|
- neo4j_plugins:/plugins
|
|
networks:
|
|
- localai
|
|
|
|
# Qdrant vector database (disabled - using Supabase instead)
|
|
# qdrant:
|
|
# image: qdrant/qdrant:v1.15.0
|
|
# container_name: mem0-qdrant
|
|
# restart: unless-stopped
|
|
# ports:
|
|
# - "6333:6333" # REST API
|
|
# - "6334:6334" # gRPC API
|
|
# volumes:
|
|
# - qdrant_data:/qdrant/storage
|
|
# networks:
|
|
# - localai
|
|
|
|
# Optional: Ollama for local LLM (will be started separately)
|
|
# ollama:
|
|
# image: ollama/ollama:latest
|
|
# container_name: mem0-ollama
|
|
# restart: unless-stopped
|
|
# ports:
|
|
# - "11434:11434"
|
|
# volumes:
|
|
# - ollama_data:/root/.ollama
|
|
# networks:
|
|
# - mem0_network
|
|
|
|
volumes:
|
|
neo4j_data:
|
|
neo4j_logs:
|
|
neo4j_import:
|
|
neo4j_plugins:
|
|
qdrant_data:
|
|
# ollama_data:
|
|
|
|
networks:
|
|
localai:
|
|
external: true |