ghcr.io/atomicstrata/atomicmemory-core:latest. The image bundles an embedded Postgres instance with pgvector so you get a fully self-contained memory backend — no external database required to get started. Images are built for both linux/amd64 and linux/arm64, so the same tag works on common Linux servers and Apple Silicon Macs.
Quick Start
Pull and run the image
Export your OpenAI API key, then start the container. The volume mount persists the embedded database across container restarts.The
--pull always flag ensures you get the latest image on every run. Binding to 127.0.0.1 keeps the default local-dev-key credential off your network interfaces.Verify the health endpoint
Once the container is running, confirm it is ready to accept requests:A successful response returns
{"status":"ok"}. The server is now ready to ingest and serve memories.Authenticate your first request (optional)
By default, the local image accepts For production deployments, replace this with a strong random secret. See the Configuration page for how to set
local-dev-key as the bearer token. You can use it immediately without any additional setup:CORE_API_KEY.Configuration Environment Variables
The following variables control the most important aspects of the container’s behaviour. See Configuration for the complete reference.| Variable | Default | Description |
|---|---|---|
OPENAI_API_KEY | — | Required when EMBEDDING_PROVIDER=openai or LLM_PROVIDER=openai |
EMBEDDING_PROVIDER | openai | Embedding backend: openai, transformers, ollama, voyage, openai-compatible |
LLM_PROVIDER | openai | LLM backend used during full ingest extraction: openai, anthropic, ollama, groq, google-genai, openai-compatible |
CORE_API_KEY | local-dev-key | Bearer token clients must pass in Authorization headers |
DATABASE_URL | embedded | Postgres connection string; defaults to the bundled local instance |
PORT | 17350 | Port the HTTP server listens on inside the container |
/var/lib/atomicmemory/postgres. If you remove the volume, all stored memories are lost.
Fully Local Setup (No External API Keys)
If you want to run AtomicMemory without sending data to any external service, use thetransformers embedding provider together with a local Ollama instance for LLM extraction. This configuration works entirely offline once the models are downloaded.
The
transformers provider runs embedding inference locally via WASM/ONNX inside the container. Expect higher latency on the first request while the model warms up, and slightly lower throughput compared with hosted APIs. It is well-suited for development, air-gapped environments, and privacy-sensitive workloads.host.docker.internal resolves to the Docker host on macOS and Windows. On Linux, pass --add-host host.docker.internal:host-gateway or use the host’s LAN IP directly.
Production Deployment
For production, connect the container to an external managed Postgres instance with pgvector enabled and set a strongCORE_API_KEY. The RAW_STORAGE_DEPLOYMENT_ENV=production flag enables production-grade storage policies.