Backend Setup | OpenMemory

Guide to setting up the OpenMemory backend server for production.

Backend Setup

For production use cases, you should run the OpenMemory backend as a standalone service.

Requirements

  • Node.js 18+
  • 2GB RAM (minimum)
  • Persistent Disk (for SQLite/Vector storage)

Installation

  1. Clone the repo

    git clone https://github.com/caviraoss/openmemory.git
    cd backend
    
  2. Install dependencies

    npm install --production
    
  3. Build

    npm run build
    
  4. Start

    npm start
    

Configuration

Configure via .env:

PORT=8080
STORAGE_PATH=/data/memory.sqlite
AUTH_TOKEN=your-secret-token
© 2025 OpenMemory · MIT License