Files
appstore/apps/kan/latest/scripts/uninstall.sh
T
okxlin 5243cc0eb6 feat: add Kan and Cloudflare Mesh apps (#6258)
Add the Kan and Cloudflare Mesh 1Panel AppStore packages.

Kan uses the selected 1Panel PostgreSQL service and keeps its upgrade hook neutral because no legacy package was released. Mesh includes required connector permissions and a confirmed local-state reset and re-registration flow.
2026-08-28 14:33:20 +08:00

15 lines
356 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
cd "$ROOT_DIR"
if docker compose version >/dev/null 2>&1; then
docker compose down --remove-orphans
elif docker-compose version >/dev/null 2>&1; then
docker-compose down --remove-orphans
else
echo "Docker Compose is not available" >&2
exit 1
fi