The pgAdmin 4 administration tool for PostgreSQL (server mode).
10K+
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ This project is not maintained anymore and has been archived! ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
A Docker image for pgAdmin 4.
A Docker image for pgAdmin3 is available too!
The image is based upon the official httpd:2.4 image and the official pgAdmin4 release.
git clone [email protected]:ndd-docker/ndd-docker-pgadmin4.git
cd ndd-docker-pgadmin4
docker build -t ddidier/pgadmin4 .
docker pull ddidier/pgadmin4
The settings are stored in the container in the directory /data. You have multiple choices to keep them:
-v $HOST_DATA_DIR:/data--volumes-from pgadmin4-dataIf you store these data in a directory like ~/.docker-data/<CONTAINER_NAME>, you can run this image using:
docker run --rm \
-p <HOST_PORT>:80 \
-v ~/.docker-data/pgadmin4:/data \
--name pgadmin4 \
ddidier/pgadmin4
The configuration is set the first time the container is started and is then immutable.
The default values are:
| Environment variable | Default value |
|---|---|
| DEFAULT_SERVER_HOST | localhost |
| DEFAULT_SERVER_PORT | 5050 |
| SQLITE_TIMEOUT | 1000 |
| MAIL_SERVER | localhost |
| MAIL_PORT | 25 |
| MAIL_USE_SSL | False |
| MAIL_USE_TLS | False |
| MAIL_USERNAME | |
| MAIL_PASSWORD | |
| MAIL_DEBUG | False |
| UPGRADE_CHECK_ENABLED | True |
| PGADMIN_SETUP_EMAIL | [email protected] |
| PGADMIN_SETUP_PASSWORD | changeme |
You may change those using -e parameters when starting the container for the first time, or extend the image with someting like this:
FROM ddidier/pgadmin4
MAINTAINER David DIDIER
ENV \
DEFAULT_SERVER_HOST=localhost \
DEFAULT_SERVER_PORT=5050 \
SQLITE_TIMEOUT=500 \
MAIL_SERVER=localhost \
MAIL_PORT=25 \
MAIL_USE_SSL=False \
MAIL_USE_TLS=False \
MAIL_USERNAME = \
MAIL_PASSWORD = \
MAIL_DEBUG=False \
UPGRADE_CHECK_ENABLED=True \
[email protected] \
PGADMIN_SETUP_PASSWORD=changeme
virtualhost.Content type
Image
Digest
Size
248.2 MB
Last updated
about 9 years ago
docker pull ddidier/pgadmin4