chore: sync all changes to Gitea
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
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:
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Phase 1: Create and configure secondary NPMplus container
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Phase 2: Set up certificate synchronization
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Phase 3: Set up Keepalived
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Phase 5: Set up monitoring
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Export primary NPMplus configuration for HA setup
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Import configuration to secondary NPMplus
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Synchronize NPMplus certificates from primary to secondary
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user