chore: sync all changes to Gitea
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled

- Config, docs, scripts, and backup manifests
- Submodule refs unchanged (m = modified content in submodules)

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-02 11:37:34 -08:00
parent ed85135249
commit b3a8fe4496
883 changed files with 73580 additions and 4796 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Fully automated HA setup for NPMplus
# Uses SSH access and .env credentials to complete all setup steps

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Phase 1: Create and configure secondary NPMplus container
set -euo pipefail

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Phase 2: Set up certificate synchronization
set -euo pipefail

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Phase 3: Set up Keepalived
set -euo pipefail

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Phase 4: Sync NPMplus configuration to secondary (certificates + optional API export)
# Primary config is source of truth; secondary receives certs and can import config if needed.

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Phase 5: Set up monitoring
set -euo pipefail

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Export primary NPMplus configuration for HA setup
set -euo pipefail

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Import configuration to secondary NPMplus
set -euo pipefail

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Check NPMplus health for Keepalived. Return 0 if healthy, 1 if unhealthy.
# Deploy to /usr/local/bin/check-npmplus-health.sh on both Proxmox hosts.

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Handle Keepalived state changes
# Deploy to /usr/local/bin/keepalived-notify.sh on Proxmox hosts (no project root needed)

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Synchronize NPMplus certificates from primary to secondary
set -euo pipefail

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Sync NPMplus configuration from primary to secondary (API-based)
# Note: Full automated sync requires shared database or manual replication