Sign inSign up

neimheadh/phppgadmin

By neimheadh

Updated about 5 years ago

PHPPgAdmin image with autologin system.

Image
2

500K+

neimheadh/phppgadmin repository overview

phpPgAdmin image with autologin system.

Image based on the latest php:alpine official image.

What is phpPgAdmin

(Based on: http://phppgadmin.sourceforge.net/doku.php?id=start.)

(NB: The description on the official website only speak about the phpPgAdmin 5.6, but the image is based on Github versions.)

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

Features

  • Administer multiple servers
  • Support for PostgreSQL 8.4.x, 9.x, 10.x, 11.x
  • Manage all aspects of: - Users & groups - Databases - Schemas - Tables, indexes, constraints, triggers, rules & privileges - Views, sequences & functions - Advanced objects - Reports
  • Easy data manipulation: - Browse tables, views & reports - Execute arbitrary SQL - Select, insert, update and delete
  • Dump table data in a variety of formats: SQL, COPY, XML, XHTML, CSV, Tabbed, pg_dump
  • Import SQL scripts, COPY data, XML, CSV and Tabbed
  • Supports the Slony master-slave replication engine
  • Excellent language support: - Available in 27 languages - No encoding conflicts. Edit Russian data using a Japanese interface!
  • Easy to install and configure
  • Extendable with the use of plugins.

How to use this image

Via docker command
docker run --name phppgadmin -e POSTGRES_HOST=postgres_conainer_name -e POSTGRES_PORT=5432 -e POSTGRES_USER=postgres_username -e POSTGRES_PASS=postgres_password -p "10080:80"
Via docker-compose command

docker-compose.yml:

services:
  postgres:
    image: postgres
    environment:
      POSTGRES_PASSWORD: postgres

  phppgadmin:
    image: neimheadh/phppgadmin
    environment:
      POSTGRES_HOST: postgres
      POSTGRES_PORT: 5432
      POSTGRES_USER: postgres
      POSTGRES_PASS: postgres
    ports:
      - "10080:80"

Then docker-compose command:

docker-compose up -d

Image variables

The exposed port is 80.

Here the environment variables:

VariableDescriptionDefault value
POSTGRES_HOSTPostgres host (container or other).postgres
POSTGRES_PORTPostgres host port.5432
POSTGRES_USERPostgres connexion username.postgres
POSTGRES_PASSPostgres connexion password.None

Tag summary

Content type

Image

Digest

Size

35 MB

Last updated

about 5 years ago

docker pull neimheadh/phppgadmin