config: Update 7 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s
This commit is contained in:
@@ -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)"
|
Reference in New Issue
Block a user