Sign inSign up

turgon37/phppgadmin

By turgon37

Updated over 7 years ago

Docker image running phppgadmin web application

Image
1

100K+

turgon37/phppgadmin repository overview

Docker phpPgAdmin

Docker Automated build

This images contains an instance of phppgadmin web application served by nginx on port 80

Docker Informations

  • This image expose the following port
PortUsage
80HTTP web application
  • This image takes theses environnements variables as parameters
EnvironmentUsage
POSTGRES_HOSTThe hostname of the PostGreSQL database server
POSTGRES_PORTThe port on which join the postgressql server (default to 5432)
POSTGRES_NAMEThe name of the connection profil in phpPgAdmin profile
POSTGRES_HOSTSComma separated list of hostnames
POSTGRES_PORTSComma separated list of ports
POSTGRES_NAMESThe name of the connection profil in phpPgAdmin profile
POSTGRES_DEFAULTDBThe name of default database to show
PHPPGADMIN_LOGIN_SECURITYIf true enable restrictions on login and empty passwords
PHPPGADMIN_OWNED_ONLYIf true, filter databases owned by the logged user
PHPPGADMIN_SHOW_COMMENTSIf true, show comments fields
PHPPGADMIN_SHOW_ADVANCEDIf true, display advanced objects like types, aggregations
PHPPGADMIN_SHOW_SYSTEMIf true, display systems objects
PHPPGADMIN_SHOW_OIDSIf true, show objects OIDs
PHPPGADMIN_USE_XHTML_STRICTIf true, send XHTML strict headers
PHPPGADMIN_THEMESet here the name of the theme to use
PHPPGADMIN_PLUGINSSet here the comma separated list of plugins name to enable

Installation

  • Manual
git clone
docker build -t turgon37/phppgadmin .
  • or Automatic
docker pull turgon37/phppgadmin

Usage

  • With docker cli
docker run -p 8000:80 -e "POSTGRES_HOST=127.0.0.1" -e "POSTGRES_PORT=5432" -e "POSTGRES_NAME=Intranet" turgon37/phppgadmin
  • With docker-compose
 phppgadmin:
    image: turgon37/phppgadmin
    environment:
      - POSTGRES_HOSTS=postgresql01.example.net,postgresql02.example.net
      - POSTGRES_NAMES=PostgreSQL 01,PostgreSQL 02
    ports:
      - "127.0.0.1:8003:80/tcp"

Tag summary

Content type

Image

Digest

Size

35.6 MB

Last updated

over 8 years ago

docker pull turgon37/phppgadmin