merge PostgreSQL to tools.func Installer (#4752)

* Update tools.func

* Merge PostgreSQL to tools.func Installer
This commit is contained in:
CanbiZ
2025-05-27 15:28:05 +02:00
committed by GitHub
parent 8708980786
commit 58586cbfc8
7 changed files with 23 additions and 33 deletions

View File

@@ -25,10 +25,9 @@ $STD apt-get install -y \
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
PG_VERSION="16" install_postgresql
PG_VERSION="16" PG_MODULES="postgis" install_postgresql
msg_info "Install/Set up PostgreSQL Database"
$STD apt-get install -y postgresql-16-postgis
msg_info "Set up PostgreSQL Database"
DB_NAME="adventurelog_db"
DB_USER="adventurelog_user"
DB_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"