initial COM2 system snapshot

This commit is contained in:
gitea
2026-03-06 15:22:40 +00:00
commit 9c0fa49baf
4377 changed files with 273033 additions and 0 deletions

23
com-stack/orchestra_up.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail
cd /opt/hx-ki/com-stack
docker compose up -d --remove-orphans
# 90 Sekunden Health-Gate (anpassen)
deadline=$((SECONDS+90))
while (( SECONDS < deadline )); do
bad=$(docker ps --format '{{.Names}} {{.Status}}' | egrep 'unhealthy|Restarting' || true)
if [[ -z "$bad" ]]; then
echo "OK: Orchester stabil."
exit 0
fi
echo "WARTEN: noch nicht stabil:"
echo "$bad"
sleep 3
done
echo "FAIL: nicht stabil -> fahre alles runter (alle oder keiner)."
docker compose down
exit 1