Simplify Athena runtime and document current architecture

This commit is contained in:
Mikei386
2026-08-30 08:45:52 +02:00
parent c721db47d0
commit c6517ee137
56 changed files with 1275 additions and 4713 deletions
+9 -9
View File
@@ -12,11 +12,11 @@ Usage:
./manage.sh [--dry-run] validate
./manage.sh [--dry-run] deploy core
./manage.sh [--dry-run] deploy SERVICE [SERVICE ...]
./manage.sh [--dry-run] stop-legacy
./manage.sh [--dry-run] purge-legacy
`deploy SERVICE` deliberately uses --no-deps. It never recreates unrelated
containers. `deploy core` is the complete Athena runtime and may start missing
dependencies, but does not start OpenWebUI, Hermes or portable Fach-MCPs.
dependencies. Hermes und portable Fach-MCPs gehören nicht zu Athena.
EOF
}
@@ -39,30 +39,30 @@ shift || true
case "$command" in
validate)
run python3 "$ROOT_DIR/platform/scripts/sync-profile-matrix.py" --check
run python3 "$ROOT_DIR/platform/scripts/render-mcp-registry.py" --check
run "${compose[@]}" config --quiet
;;
deploy)
[[ $# -gt 0 ]] || { usage >&2; exit 2; }
run python3 "$ROOT_DIR/platform/scripts/sync-profile-matrix.py" --check
run python3 "$ROOT_DIR/platform/scripts/render-mcp-registry.py" --check
if [[ $1 == core ]]; then
shift
[[ $# -eq 0 ]] || { echo "core akzeptiert keine weiteren Services" >&2; exit 2; }
run "$ROOT_DIR/platform/mcp/install-tools.sh"
run "${compose[@]}" up -d --build \
wireguard-gateway piper xtts tts-gateway profile-controller router backup
wireguard-gateway piper xtts tts-gateway profile-controller router llama-dashboard backup
else
run "${compose[@]}" up -d --build --no-deps "$@"
fi
;;
stop-legacy)
# Reversible cleanup: stop only obsolete Athena frontends/tool backends.
purge-legacy)
# Entfernt nur ersetzte Athena-Oberflächen und ausgelagerte Fach-MCPs.
for name in mike-ai-open-webui mike-ai-hermes mike-ai-hermes-webui \
mike-ai-hermes-webui-vpn-proxy mike-ai-mcp-web mike-ai-tools-searxng \
mike-ai-tools-tinysearch mike-ai-mcp-platform-context; do
mike-ai-tools-tinysearch mike-ai-mcp-platform-context mike-ai-mcp-arr \
mike-ai-mcp-deemix mike-ai-mcp-github mike-ai-mcp-homeassistant \
mike-ai-mcp-navidrome; do
if docker inspect "$name" >/dev/null 2>&1; then
run docker stop "$name"
run docker rm -f "$name"
fi
done
;;