Add Mem0 service to docker-compose for persistent AI memory integration

This commit is contained in:
RX-Penguin 2026-07-17 12:53:34 +08:00
parent 84b6911960
commit fa05731d00

View File

@ -147,6 +147,26 @@ services:
networks:
- git_forge
# Mem0 - Persistent Memory Layer for AI Agents (RAG / Second Brain)
mem0:
container_name: mem0
image: mem0ai/mem0:latest
restart: unless-stopped
environment:
TZ: Asia/Shanghai
volumes:
- ./mem0:/app/mem0_data
networks:
- n8n_default
- git_forge
depends_on:
litellm:
condition: service_healthy
postgres:
condition: service_healthy
# ports:
# - "8888:8000" # Uncomment if you want direct API access
networks:
git_forge:
name: git_forge