HUB
Sign inSign up

tadaweb/phppgadmin

By tadaweb

•Updated over 9 years ago

A docker image, based on alpine linux, with phppgadmin and lighttpd

Image
0

571

tadaweb/phppgadmin repository overview

⁠phpPgAdmin Docker

⁠What is phpPgAdmin?

phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies, and hosting services.

⁠How to run the docker container

To run a docker container with the image, execute:

docker run -d --name phppgadmin --link postgres:postgres -p 8060:8060 tadaweb/phppgadmin

⁠Environment variables

Variabledefaultdescription
PHPPGADMIN_PORT8060The port on which the lighttpd server must listen
POSTGRESQL_DEFAULT_DBdefaultdbThe default connection db for the postgresql
POSTGRESQL_HOSTSlocalhost:5432A comma separated list of PostgreSql hosts. If the port it is not specified it will be replaced by 5432.

⁠Examples

docker run -d --name phppgadmin -e "POSTGRESQL_HOSTS=postgresql1.local:5444,postgresql2.local" \
           -e "PHPPGADMIN_PORT=8111" -p 8060:8111 tadaweb/phpphadmin
Tag summary
Recent tags
Content type
Image
Digest
Size
19.8 MB
Last updated
over 9 years ago
docker pull tadaweb/phppgadmin:latest