Postgram

Self-hosted memory for AI agents with hybrid search, knowledge graphs, tasks, and document sync.

Streamable HTTPcommunityinfra

Package Details

ghcr.io/ivo-toby/postgram@sha256:29b61fb302bd52862b8eba43305ee2aa4fc072d5f9188652f1fe6324f49d5391

TransportStreamable HTTP
Runtimedocker

Runtime Arguments

Named
--publish
127.0.0.1:3100:3100
--add-host
host.docker.internal:host-gateway

Environment Variables

DATABASE_URL
RequiredSecret

PostgreSQL connection URL for a database with the pgvector extension enabled.

OPENAI_API_KEY
Secret

Required only when OpenAI is selected for embeddings or extraction.

EMBEDDING_PROVIDER
Default:ollama

Embedding provider: openai or ollama.

EMBEDDING_BASE_URL
Default:http://host.docker.internal:11434

Ollama embedding endpoint when EMBEDDING_PROVIDER is ollama.

ADMIN_MFA_SECRET_KEY
RequiredSecret

Stable random value of at least 32 characters used to protect admin MFA seeds.

ADMIN_SETTINGS_ENCRYPTION_KEY
RequiredSecret

Stable 32-byte base64url key used to encrypt provider secrets saved in the admin UI.