Sign inSign up

pritamchk98/postgres

By pritamchk98

Updated over 1 year ago

This is a postgres database image where few customization is available

Image
Databases & storage
0

199

pritamchk98/postgres repository overview

Docker image container run command :

by default it doesn't allow any user to connect to database, so once volume is created --> please update pg_hba.conf for it and restart your container.

docker run -d -p 5432:5353 -e "DBPORT=5353" -v pg_data:/postgres/Database --name pgdbC1 pritamchk98/postgres:v16.0

Available ENV Var

DBPORT=<Your Port No> #default is 5432 
MAX_CONN=<Value> # default 100

for build image of postgres with different version please clone the below repo and build image with given command where only postgres version has to be passed as arg

docker build --build-arg="PGVERSION=16.0" -t pritamchk98/postgres:v16.0 -f postgres_anyVersion.Dockerfile .

here it is 16.0

Tag summary

Content type

Image

Digest

sha256:9687777f2

Size

133.9 MB

Last updated

over 1 year ago

docker pull pritamchk98/postgres:v15.10