Skip to content

Dockerfile for PostgreSQL with vector and zhparser extensions

Notifications You must be signed in to change notification settings

liuwb/pg_vector_zhparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

pg_vector_zhparser

Dockerfile for PostgreSQL with vector and zhparser extensions

Build Image

docker build --rm -t pg_vector_zhparser:pg17 -f ./Dockerfile .

Run Container

docker run -d --name pg_vector_zhparser -p 5432:5432 --ipc=host \
    -v ${YOUR_DATA_DIR}:/var/lib/postgresql/data \
    -v ${YOUR_CONFIG_FILE}:/etc/postgresql/postgresql.conf \
    -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=${YOUR_SUPERUSER_PASS} \
    -e PGDATA=/var/lib/postgresql/data/pgdata \
    pg_vector_zhparser:pg17

About

Dockerfile for PostgreSQL with vector and zhparser extensions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published