chore(scripts): add compose, k3s, backup, and media helpers

Automate image load, Helm install, database backup, and sample video regeneration.
This commit is contained in:
ahp
2026-10-07 19:40:26 +03:30
parent dc1b9e9cc0
commit 440cbbb671
6 changed files with 113 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Install / upgrade Pargar on local k3s with the k3s values profile.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"
NS="${NS:-pargar}"
RELEASE="${RELEASE:-pargar}"
helm upgrade --install "$RELEASE" ./deploy/helm/pargar \
--namespace "$NS" \
--create-namespace \
-f ./deploy/helm/pargar/values-k3s.yaml \
"$@"
echo
echo "Add hosts entry if needed: <node-ip> pargar.local"
echo "Health: curl -k https://pargar.local/api/health"