Add 1 and update 7 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 12s

This commit is contained in:
j
2026-01-15 11:42:04 +13:00
parent 8d4f24af4e
commit 878938307c
8 changed files with 27 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/_compose.sh"
_check_required_env_vars "CONTAINER_NAME"
@@ -11,7 +12,7 @@ cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
# Stop and remove containers (preserves volumes)
if [ -f docker-compose.yml ]; then
docker compose down 2>/dev/null || true
docker_compose down 2>/dev/null || true
fi
echo "Uninstallation of ${CONTAINER_NAME} complete."