
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 59s
11 lines
425 B
Bash
Executable File
11 lines
425 B
Bash
Executable File
#!/bin/bash
|
|
# shellcheck disable=SC1091
|
|
source "${AGENT_PATH}/common.sh"
|
|
_check_required_env_vars "PROJECT_NAME" "LOCAL_DATA_FOLDER"
|
|
|
|
cd "${LOCAL_DATA_FOLDER}/config" || _die "Failed to change to config directory"
|
|
|
|
echo "Destroying ${PROJECT_NAME} containers and networks..."
|
|
docker compose down -v || _die "Failed to destroy Docker Compose services"
|
|
|
|
echo "${PROJECT_NAME} destroyed (configuration and recordings preserved)" |