A production-ready PostgreSQL Docker image designed for AI workloads—all in one database.
1.9K
PostgreSQL with pgvector, Apache AGE, and AI-ready extensions
A production-ready PostgreSQL Docker image designed for AI, RAG, vector search, and graph workloads—all in one database.
ag_catalog, public)public.vector)docker pull vishva123/postgres-for-ai:latest
docker run -d \
--name postgres-ai \
-e POSTGRES_USER=admin \
-e POSTGRES_PASSWORD=admin \
-e POSTGRES_DB=ai \
-p 5432:5432 \
vishva123/postgres-for-ai:18.2
PostgreSQL will be available at:
localhost:5432
| Extension | Purpose |
|---|---|
pgvector | Vector search |
age | Graph queries (Cypher) |
pg_cron | Scheduled jobs |
pg_stat_statements | Query analytics |
pg_trgm | Text similarity |
uuid-ossp | UUID generation |
SELECT * FROM pg_extension;
Expected:
vector, age, pg_cron, pg_stat_statements, pg_trgm, uuid-ossp
CREATE TABLE embeddings (
id SERIAL PRIMARY KEY,
content TEXT,
embedding VECTOR(768)
);
SELECT * FROM cypher('graph', $$
MATCH (n) RETURN n
$$) AS (n agtype);
GitHub repository: 👉 https://github.com/vishvaRam/Postgres-For-AI
Vishva Ram AI Engineer | Generative AI | RAG | Graph + Vector Systems
⭐ If this image helps your AI project, consider starring the GitHub repo!
Content type
Image
Digest
sha256:c6f83e9c8…
Size
598.6 MB
Last updated
8 months ago
docker pull vishva123/postgres-for-ai:17.2