agentmemory Docker & Self-Hosted Deployment

GitHub

#1 Persistent memory for AI coding agents based on real-world benchmarks

26,881 stars TypeScript TypeScript 1 file ยท ~27,751 tokens #agentmemory#agents#ai#claude#claudecode#codex#copilot#cursor
RAW Compose
1. Pull Image (DOCKERHUB) docker pull rohitg00/agentmemory
2. Docker Run (1-Click Launch) docker run -d --name agentmemory --restart always rohitg00/agentmemory:latest
3. Podman Run podman run -d --name agentmemory --restart always rohitg00/agentmemory:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/rohitg00/agentmemory:latest
5. ORAS Pull (OCI Artifact) oras pull rohitg00/agentmemory:latest
6. Compose Deployment docker compose up -d
deploy/coolify/docker-compose.yml
Download .yml
services:
  agentmemory:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        AGENTMEMORY_VERSION: "0.9.30"
        III_VERSION: "0.22.1"
        III_SDK_VERSION: "0.22.1"
    restart: unless-stopped
    environment:
      SERVICE_FQDN_AGENTMEMORY_3111: ${SERVICE_FQDN_AGENTMEMORY_3111}
    expose:
      - "3111"
    volumes:
      - agentmemory-data:/data
    healthcheck:
      test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:3111/agentmemory/livez || exit 1"]
      interval: 30s
      timeout: 5s
      start_period: 30s
      retries: 3
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"

volumes:
  agentmemory-data: