Begleit-PR zu nexus-hub K-102.
- ct/nexus-db.sh + install/nexus-db-install.sh nach webapp-Pattern
- PGDG-Repo, DB nexus mit Least-Privilege-Rolle, pg_hba-Allowlist nur für den nexus-LXC (explizites reject sonst), pgvector vom Installer angelegt
- idempotent; Credentials/DSN in /root/nexus-db.credentials
- Codex-Review-Fixes: build.func-Source, Input-Validierung, Passwort-Rotation als Recovery
Anlegen nach Merge (auf PVE):
bash -c "$(curl -fsSL https://gitea.luki-net.org/luki-net/proxmox-scripts/raw/branch/main/ct/nexus-db.sh)"
webapp-pattern ct/install pair: PGDG repo, database nexus with
least-privilege owner role, pg_hba allowlist restricted to the nexus
app LXC (explicit reject for everything else), pgvector created by the
installer, credentials/DSN summary in /root/nexus-db.credentials.
Idempotent re-runs keep role/db and do not rotate the password.
- 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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Begleit-PR zu nexus-hub K-102.
Anlegen nach Merge (auf PVE):
bash -c "$(curl -fsSL https://gitea.luki-net.org/luki-net/proxmox-scripts/raw/branch/main/ct/nexus-db.sh)"