config: Update 7 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s

This commit is contained in:
Your Name
2025-09-01 14:16:35 +12:00
parent 11ddc264eb
commit 4c2eff0011
7 changed files with 31 additions and 76 deletions

View File

@@ -1,11 +1,15 @@
#!/bin/bash
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "PROJECT_NAME" "LOCAL_DATA_FOLDER"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/_paths.sh"
_check_required_env_vars "LOCAL_DATA_FOLDER"
cd "${LOCAL_DATA_FOLDER}/config" || _die "Failed to change to config directory"
"${SCRIPT_DIR}/uninstall.sh"
echo "Destroying ${PROJECT_NAME} containers and networks..."
docker compose down -v || _die "Failed to destroy Docker Compose services"
# shellcheck disable=SC2046
destroy_items $(get_squashkiwi_streaming_paths) || _die "Failed to destroy ${LOCAL_DATA_FOLDER}"
rm -rf "${RECORDINGS_FOLDER}"
echo "Destroyed ${CONTAINER_NAME}"
echo "${PROJECT_NAME} destroyed (configuration and recordings preserved)"