Sign inSign up

divined/docker-pgadmin4

By divined

•Updated over 8 years ago

Fork of Chorss/docker-pgAdmin4 with server host environment.

Image
0

301

divined/docker-pgadmin4 repository overview

⁠pgAdmin4 in docker container - Version 2.1

NAMEData TypeREQUIRED
SERVER_HOSTStringNO
SERVER_PORTIntegerNO
SERVER_MODEBooleanYES
PGADMIN_SETUP_EMAILStringNO*
PGADMIN_SETUP_PASSWORDStringNO*
MAIL_SERVERStringNO*
MAIL_PORTIntegerNO*
MAIL_USE_SSLBooleanNO*
MAIL_USE_TLSBooleanNO*
MAIL_USERNAMEStringNO*
MAIL_PASSWORDStringNO*
MAIL_DEBUGBooleanNO
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/user/data:/data chorss/docker-pgadmin4

Backup and Restore in pgAdmin4 (pg_dump, pg_restore)

To use restore and backup you need to set the path

File -> Preferences -> Binary the paths set to /usr/bin

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/user/data:/data chorss/docker-pgadmin4

Tag summary

Content type

Image

Digest

Size

122.8 MB

Last updated

over 8 years ago

docker pull divined/docker-pgadmin4