Sign inSign up

chorss/docker-pgadmin4

By chorss

Updated about 7 years ago

pgAdmin is open source administration and management tool for the PostgreSQL database.

Image
25

1M+

chorss/docker-pgadmin4 repository overview

pgAdmin4 in docker container - Version 4.11

NAMEData TypeREQUIRED
SERVER_PORTIntegerNO
SERVER_MODEBooleanYES
PGADMIN_SETUP_EMAILStringNO*
PGADMIN_SETUP_PASSWORDStringNO*
MAIL_SERVERStringNO*
MAIL_PORTIntegerNO*
MAIL_USE_SSLBooleanNO*
MAIL_USE_TLSBooleanNO*
MAIL_USERNAMEStringNO*
MAIL_PASSWORDStringNO*
UIDIntegerNO
GIDIntegerNO

* -> if SERVER_MODE set false

Example commands

Quick start

$ docker run -d -p 5050:5050 chorss/docker-pgadmin4

$ docker run -d -p 5050:5050 -v $HOME/mydata:/data chorss/docker-pgadmin4

Data storage outside of the container

This will store session, configuration and storage on the given volume. The application user within the container will change it's uid/gid to the given values and will use this uid/gid to write to the volume-directory.

docker run -d -p 5050:5050 -e UID=2301 -e GID=2301 -v $HOME/mydata:/data chorss/docker-pgadmin4

On most shells, you can run with the UID/GID of the current user like this

docker run -d -p 5050:5050 -e UID=`id -u` -e GID=`id -g` -v $HOME/mydata:/data chorss/docker-pgadmin4

Remember to create $HOME/mydata before running the command above.

Tag summary

Content type

Image

Digest

Size

117.6 MB

Last updated

about 7 years ago

docker pull chorss/docker-pgadmin4