Pgadmin newest version 4.x (#2054)

* new last version pgadmin
This commit is contained in:
andreypaa 2019-03-21 18:19:32 +03:00 committed by Shao Yu-Lung (Allen)
parent 9920397463
commit d1f3bc8e5c
3 changed files with 13 additions and 13 deletions

View File

@ -595,11 +595,15 @@ services:
### pgAdmin ############################################## ### pgAdmin ##############################################
pgadmin: pgadmin:
build: ./pgadmin container_name: pgadmin
image: dpage/pgadmin4:latest
environment:
- "PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL}"
- "PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}"
ports: ports:
- "5050:5050" - "${PGADMIN_PORT}:80"
volumes: volumes:
- ${DATA_PATH_HOST}/pgadmin-backup:/var/lib/pgadmin/storage/pgadmin4 - ${DATA_PATH_HOST}/pgadmin:/var/lib/pgadmin
depends_on: depends_on:
- postgres - postgres
networks: networks:

View File

@ -666,3 +666,9 @@ MANTICORE_CONFIG_PATH=./manticore/config
MANTICORE_API_PORT=9312 MANTICORE_API_PORT=9312
MANTICORE_SPHINXQL_PORT=9306 MANTICORE_SPHINXQL_PORT=9306
MANTICORE_HTTP_PORT=9308 MANTICORE_HTTP_PORT=9308
### pgadmin ##################################################
# use this address http://ip6-localhost:5050
PGADMIN_PORT=5050
PGADMIN_DEFAULT_EMAIL=pgadmin4@pgadmin.org
PGADMIN_DEFAULT_PASSWORD=admin

View File

@ -1,10 +0,0 @@
FROM fenglc/pgadmin4:alpine
LABEL maintainer="Huadong Zuo <admin@zuohuadong.cn>"
# user: pgadmin4@pgadmin.org
# password: admin
# pg_dump & postgresql all in "/usr/bin"
# backup in "/var/lib/pgadmin/storage/pgadmin4"
EXPOSE 5050