Giter Site home page Giter Site logo

dockercloud-pgadmin4's Introduction

pgAdmin 4

What is pgAdmin?

pgAdmin is an open source administration and management tool for the PostgreSQL database.

It is Free Software released under the PostgreSQL License.

How to use this image

In order to run a container with our image, execute:

docker run --name some-pgadmin4 \
           --link some-postgres:postgres \
           -p 5050:5050 \
           -d fenglc/pgadmin4

Then you can hit http://localhost:5050 or http://host-ip:5050 in your browser.

Use default administrator account to log in:

Screenshot

dashboard

Environment Variables

  • DEFAULT_USER

default '[email protected]'

  • DEFAULT_PASSWORD

default 'admin'

  • MAIL_SERVER

default 'localhost'

  • MAIL_PORT

default 25

  • MAIL_USE_SSL

default False

  • MAIL_USE_TLS

default False

  • MAIL_USERNAME

default None

  • MAIL_PASSWORD

default None

Open source

Building from source

If you want to build and run your own version locally:

  • Clone this repository.
  • Build your own version of the Docker image.

License

Refer to the LICENSE file (MIT License).

dockercloud-pgadmin4's People

Contributors

arszp10 avatar czerasz avatar ephillipe avatar fenglc avatar thiras avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dockercloud-pgadmin4's Issues

Login issue

Hi, I have just installed and am able to run your docker image however I can't get past the login screen. I have tried both running the container with the default user/pass ([email protected]/admin) and also defining the 'DEFAULT_USER' and 'DEFAULT_PASSWORD' variables.
Any ideas?

Thanks

Can't use some tools due to Please set binary path for PostgreSQL Server from preferences.

Hi
First, thanks for this image, it so much simplifies deployement !
I have a problem though : I have this error when trying to use some functionalities
image

Please set binary path for PostgreSQL Server from preferences.

It concerns at least those functionalities under the Tools menu :

  • Import / export
  • maintenance
  • backup
  • restore

Is there something I'm missing in the docker configuration ?
Shouldnt it be part of the default docker installation ?

Thanks

why pip in entrypoint?

In entrypoint, line 57
pip install flask_htmlmin

why not pip it in docker file but in entrypoint?
Is there any reason?

Adding users in the entrypoint

Hello fenglc,

Excellent docker container! Helped a lot.

Can you tell me how I can add users in the entrypoint itself so that I won't have to manually add Users and Passwords from the GUI?

I am aware we can add a default user and password which becomes the admin user. How can we add other users without administration priveleges?

Thanks,
Niraj

Container fail to start

pgAdmin4 init process done. Ready for start up.
Traceback (most recent call last):
File "pgAdmin4.py", line 95, in <module>
server_port = int(port)
ValueError: invalid literal for int() with base 10: 'tcp://10.103.24.187:5050'

Run w/o --link, but use localhost PG instance

I'm having success loading the GUI after using this run command (with and w/o the extra port mapping):
docker run --name local-pgadmin4 -p 5050:5050 -p 5432:5432 -d fenglc/pgadmin4

But, I have PostgreSQL running on bare metal and I'd like to keep it that way. Can I use this with PG running on bare metal? Clue(s)?

Thank you.

Release fenglc/pgadmin4:2.2 ?

Please could you release a new version with the latest changes because the pip stuff in the docker-entrypoint.sh is not working offline (without internet access)

Thanks for the good work.

pg_dump: aborting because of server version mismatch

Hi,
I'm using a docker container with the current version of postgres (v. 10.3). When I run the restore tool in the pgadmin4 container I have a version problem:

pg_dump: server version: 10.3 (Debian 10.3-1.pgdg90+1); pg_dump version: 9.4.15
pg_dump: aborting because of server version mismatch 

How to set webroot for reverse proxy

I can access my container via :5050 but when I setup a reverse proxy with nginx it breaks as it tries to go to (for example) myhost.com/login since I only have myhost.com/pgadmin forwarded to 5050. How do I set the webroot so that it goes to myhost.com/pgadmin/login etc?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.