fix(nexus-db): cross-review findings

- source build.func (script was unrunnable without it)
- validate DB_NAME/DB_USER/DB_PORT/NEXUS_APP_IP before SQL/pg_hba use
- rotate password when role exists but credentials file is missing
This commit is contained in:
2026-06-11 15:56:05 +02:00
parent 0ee7ceae55
commit 559ad8dc2d
2 changed files with 17 additions and 0 deletions
+2
View File
@@ -28,6 +28,8 @@ DEFAULT_DB_NAME="nexus"
DEFAULT_DB_USER="nexus"
DEFAULT_DB_PORT="5432"
source <(curl -fsSL "$LIB_URL/build.func")
# ── app-specific prompts (host TTY; each skipped if the var is preset) ───────
prompt_app_config() {
echo