Public | Automated Build

Last pushed: 4 months ago
Short Description
Support for 9.6 // A simple phppgadmin container, easy to link with postgresql.
Full Description

phppgadmin

A phppgadmin instance.
The main goal in front of the others phppgadmin containers is to offer a simple 'ready to use' one.
You just set the ENV variables and access from the url of the container.
No more /phppgadmin, this is a phppgadmin dedicated container ... no need to repeat.

Usage

First make the image :
docker build -t zhajor/docker-phppgadmin .
Then a container :
docker run -d -p 12345:80 -e "DB_HOST=192.168.99.100" -e "DB_PORT=5432" --name=postg zhajor/docker-phppgadmin

Replace DB_HOST by your ip or the virtualhost made by --link or networks, for example:
docker run -d --name=postgres-db postgres
docker run -d -p 12345:80 --link postgres-db:postgres-db -e "DB_HOST=postgres-db" -e "DB_PORT=5432" --name=postg zhajor/docker-phppgadmin

You can now access the phppgadmin interface from http://127.0.0.1:12345/

Docker Pull Command
Owner
zhajor
Source Repository

Comments (2)
zhajor
8 months ago

I just tried again and I was able to connect without any trouble.
Do you still have this issue ?

Maybe the problem was the phppgadmin image if you already had one, so I change the command line in the Usage section to zhajor/docker-phppgadmin.

vrogojin
9 months ago

Nah. By some reason phppgadmin does not "see" postgres-db in
docker run -d --name=postgres-db postgres
docker run -d -p 12345:80 --link postgres-db:postgres-db -e "DB_HOST=postgres-db" -e "DB_PORT=5432" --name=postg phppgadmin.
Cannot login to the database server

The web interface opens though