File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -595,11 +595,15 @@ services:
595595
596596# ## pgAdmin ##############################################
597597 pgadmin :
598- build : ./pgadmin
598+ container_name : pgadmin
599+ image : dpage/pgadmin4:latest
600+ environment :
601+ - " PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL}"
602+ - " PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}"
599603 ports :
600- - " 5050:5050 "
604+ - " ${PGADMIN_PORT}:80 "
601605 volumes :
602- - ${DATA_PATH_HOST}/pgadmin-backup :/var/lib/pgadmin/storage/pgadmin4
606+ - ${DATA_PATH_HOST}/pgadmin:/var/lib/pgadmin
603607 depends_on :
604608 - postgres
605609 networks :
Original file line number Diff line number Diff line change @@ -666,3 +666,9 @@ MANTICORE_CONFIG_PATH=./manticore/config
666666MANTICORE_API_PORT=9312
667667MANTICORE_SPHINXQL_PORT=9306
668668MANTICORE_HTTP_PORT=9308
669+
670+ ### pgadmin ##################################################
671+ # use this address http://ip6-localhost:5050
672+ PGADMIN_PORT=5050
673+ PGADMIN_DEFAULT_EMAIL=pgadmin4@pgadmin.org
674+ PGADMIN_DEFAULT_PASSWORD=admin
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments