Skip to content

latest version of pgadmin4 on docker with postgresql binaries for running backups.

License

Notifications You must be signed in to change notification settings

kvineet/docker-pgadmin4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL pgAdmin 4 with binary support

Docker Automated build Docker Build Status MicroBadger Size

Quick Install

You can directly pull latest image from dockerhub.

docker pull kvineet/docker-pgadmin4

Then you may run the image with following command.

docker run -d --name pgadmin -p 5433:80 -v $HOME/.pgadmin4:/data kvineet/docker-pgadmin4:latest

Details

This is modified version of foxylion's pgadmin4 docker file

Instead of using python:2-alpine as base image, this dockerfile uses alpine:3.7. That way latest version of pg_dump and pg_restore tools can be installed. just build the image again when newer version of postgresql-client is available on alpine

Upgrading

To upgrade pgadmin version set the environment variables and build the image again.

ENV PGADMIN_VERSION_MAJOR 3 
ENV PGADMIN_VERSION_MINOR 0

There is probably no need to ever update python pip version, as latest is installed whenever new image is built. Update this when 10.0.1 becomes too old.

ENV PYTHON_PIP_VERSION 10.0.1

Build From Source

  • make build will create the new image with tag kvineet/pgadmin4.
  • make run will mount ./.pgadmin4 directory to /data and expose port 80 on host port 5433

About

latest version of pgadmin4 on docker with postgresql binaries for running backups.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •