Add Docker networking support for N8N and container integration
- Added docker-compose.api-localai.yml for Docker network integration - Updated config.py to support dynamic Supabase connection strings via environment variables - Enhanced documentation with Docker network deployment instructions - Added specific N8N workflow integration guidance - Solved Docker networking issues for container-to-container communication Key improvements: * Container-to-container API access for N8N workflows * Automatic service dependency resolution (Ollama, Supabase) * Comprehensive deployment options for different use cases * Production-ready Docker network configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -54,7 +54,7 @@ def get_mem0_config(config: SystemConfig, provider: str = "openai") -> Dict[str,
|
||||
base_config["vector_store"] = {
|
||||
"provider": "supabase",
|
||||
"config": {
|
||||
"connection_string": "postgresql://supabase_admin:CzkaYmRvc26Y@localhost:5435/postgres",
|
||||
"connection_string": os.getenv("SUPABASE_CONNECTION_STRING", "postgresql://supabase_admin:CzkaYmRvc26Y@localhost:5435/postgres"),
|
||||
"collection_name": "mem0_working_test",
|
||||
"embedding_model_dims": 768 # nomic-embed-text dimension
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user