From 85d523dbdf66d70ac87271cfb4242a9024016fce Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 11 Sep 2023 13:43:34 -0400 Subject: [PATCH] Update paperless-ngx-install.sh add option to install Adminer --- install/paperless-ngx-install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install/paperless-ngx-install.sh b/install/paperless-ngx-install.sh index c7efc8ae..cd2331ce 100644 --- a/install/paperless-ngx-install.sh +++ b/install/paperless-ngx-install.sh @@ -118,6 +118,15 @@ cd /opt/paperless/src $STD python3 manage.py migrate msg_ok "Set up PostgreSQL database" +read -r -p "Would you like to add Adminer? " prompt +if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then + msg_info "Installing Adminer" + $STD apt install -y adminer + $STD a2enconf adminer + systemctl reload apache2 + msg_ok "Installed Adminer" +fi + msg_info "Setting up admin Paperless-ngx User & Password" ## From https://github.com/linuxserver/docker-paperless-ngx/blob/main/root/etc/cont-init.d/99-migrations cat <