Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.14 KB

File metadata and controls

48 lines (36 loc) · 1.14 KB

Constructive Docker

constructive

Lean PostgreSQL 18 image with essential extensions for modern applications.

Extensions

Extension Description
pgvector Vector similarity search for embeddings
PostGIS Spatial and geographic data
pg_textsearch BM25 full-text search

Usage

# Pull the image
docker pull ghcr.io/constructive-io/docker:latest

# Run
docker run -d \
  --name postgres \
  -e POSTGRES_PASSWORD=secret \
  -p 5432:5432 \
  ghcr.io/constructive-io/docker:latest

Enable extensions as needed:

CREATE EXTENSION vector;
CREATE EXTENSION postgis;
CREATE EXTENSION pg_textsearch;

Build

make build    # Build image
make test     # Build and verify extensions
make run      # Run container
make shell    # psql into container
make clean    # Remove image