Update 'setup_pgadmin.sh'

This commit is contained in:
dimon 2023-07-20 20:59:46 +00:00
parent 1c1f105164
commit 65cddf36fa

View File

@ -12,11 +12,14 @@ sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https:
apt update && apt full-upgrade -y
# Installation
export PGADMIN_SETUP_EMAIL="${PGADMIN_SETUP_EMAIL}"
export PGADMIN_SETUP_PASSWORD="${PGADMIN_SETUP_PASSWORD}"
apt install -y pgadmin4 pgadmin4-web
# Configure
export PGADMIN_SETUP_EMAIL="${PGADMIN_SETUP_EMAIL}"
export PGADMIN_SETUP_PASSWORD="${PGADMIN_SETUP_PASSWORD}"
export PGADMIN_PLATFORM_TYPE="debian"
# silently install the below --yes indicate auto install
sh /usr/pgadmin4/bin/setup-web.sh --yes
#GET /usr/pgadmin4/web/config.py
# Configure rverse-proxy