memory-engineering-mcp
Version:
🧠AI Memory System powered by MongoDB Atlas & Voyage AI - Autonomous memory management with zero manual work
69 lines (62 loc) • 1.79 kB
YAML
# MongoDB 8.2 + mongot (Vector Search)
# Both containers on same network so mongot can reach mongod
version: '3.8'
services:
mongod:
image: mongodb/mongodb-community-server:8.2.1-ubi9
container_name: mongod
command: [
"--replSet", "rs0",
"--bind_ip_all",
"--port", "27017",
"--setParameter", "searchIndexManagementHostAndPort=mongot:27028",
"--setParameter", "mongotHost=mongot:27028",
"--setParameter", "useGrpcForSearch=true"
]
ports:
- "27017:27017"
environment:
MONGODB_INITDB_DATABASE: memory_engineering
volumes:
- mongodb_data:/data/db
- mongodb_config:/data/configdb
healthcheck:
test: >
echo "try { rs.status() } catch (err) { rs.initiate({_id:'rs0',members:[{_id:0,host:'mongod:27017'}]}) }"
| mongosh --port 27017 --quiet
interval: 5s
timeout: 30s
start_period: 10s
retries: 30
restart: unless-stopped
networks:
- mongo-network
mongot:
image: mongodb/mongodb-community-search:0.53.1
container_name: mongot
command: ["--config", "/etc/mongot/config.yml"]
ports:
- "27028:27028"
- "8080:8080"
- "9946:9946"
volumes:
- mongot_data:/data/mongot
- ./mongot-config/config.yml:/etc/mongot/config.yml:ro
- ./mongot-config/passwordFile:/etc/mongot/secrets/passwordFile:ro
depends_on:
mongod:
condition: service_healthy
restart: unless-stopped
networks:
- mongo-network
volumes:
mongodb_data:
name: memory-engineering-mongodb-data
mongodb_config:
name: memory-engineering-mongodb-config
mongot_data:
name: memory-engineering-mongot-data
networks:
mongo-network:
name: memory-engineering-network
driver: bridge