Update database setup variables in install scripts

Standardized environment variable names for PostgreSQL and MariaDB setup in domain-locker and domain-monitor install scripts. Ensures correct variable usage and improves clarity for database configuration.
This commit is contained in:
CanbiZ
2025-11-10 15:08:16 +01:00
parent 105faef1f7
commit d583cced7a
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,8 @@ setting_up_container
network_check
update_os
DB_NAME="domainlocker" DB_USER="domainlocker" setup_postgresql_db
PG_VERSION="17" setup_postgresql
PG_DB_NAME="domainlocker" PG_DB_USER="domainlocker" setup_postgresql_db
fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker"
msg_info "Building Domain-Locker"
@@ -26,7 +27,7 @@ cat <<EOF >/opt/domain-locker.env
DL_PG_HOST=localhost
DL_PG_PORT=5432
DL_PG_USER=$PG_DB_USER
DL_PG_PASSWORD=$PG_DB_PASSWORD
DL_PG_PASSWORD=$PG_DB_PASS
DL_PG_NAME=$PG_DB_NAME
# Build + Runtime