docker pull pgvector/pgvector:pg17
docker volume create pgvector-data
docker run --name pgvector-container -e POSTGRES_PASSWORD=PASSWORD -p 5432:5432 -v pgvector-data:/var/lib/postgresql/data -d pgvector/pgvector:pg17
-- Enable pgvector extension
CREATE EXTENSION IF NOT EXISTS vector;