From 9aa319783e8a6306214ebf3aa783917a6968d8ff Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 14 Nov 2025 22:15:08 +0100 Subject: [PATCH] Update database schema setup in install script Replaced environment variable exports with psql command to build database schema. --- install/domain-locker-install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/install/domain-locker-install.sh b/install/domain-locker-install.sh index aa50e3a2d..a97bc1716 100644 --- a/install/domain-locker-install.sh +++ b/install/domain-locker-install.sh @@ -45,10 +45,7 @@ npm run build msg_info "Built Domain-Locker" msg_info "Building Database schema" -export DOMAIN_LOCKER_DB_NAME=${PG_DB_NAME} -export DOMAIN_LOCKER_DB_USER=${PG_DB_USER} -export DOMAIN_LOCKER_DB_PASSWORD=${PG_DB_PASS} -bash /opt/domain-locker/db/setup-postgres.sh +psql -h "$DL_PG_HOST" -p "$DL_PG_PORT" -U "$DL_PG_USER" -d "$DL_PG_NAME" -f "/opt/domain-locker/db/schema.sql" msg_ok "Built Database schema" msg_info "Creating Service"