Know more about what the software is at their website.
Notes:
- Container runs on openshift.
- For sharing sessions, please share the /var/lib/php accross the containers with appropriate permissions
- You can provide your own custom config by mounting same into /etc/phpPgAdmin/config.inc.php. Just bear in mind, file permissions.
- POSTGRESQL_SERVER - The ip or reachable address of the postgresql database to connect to
$ docker build -t registry.centos.org/centos/phppgadmin:latest -f Dockerfile .
###Run Postgresql:
$ docker run -e POSTGRESQL_USER=myuser -e POSTGRESQL_PASSWORD=myuser -e POSTGRESQL_DATABASE=myuser -d registry.centos.org/postgresql/postgresql:9.6
###Run phppgadmin
$ docker run -e POSTGRESQL_SERVER="<postgresql_ip>" -d registry.centos.org/centos/phppgadmin:latest