docs: Add 16, update 2 and remove 2 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s

This commit is contained in:
j
2026-01-26 21:17:15 +13:00
parent eebd3efcf3
commit 70dab12114
20 changed files with 411 additions and 541 deletions

23
graylog/destroy.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/_volumes.sh"
_check_required_env_vars "CONTAINER_NAME"
# DESTROY SCRIPT
# Completely removes the service AND all data
# WARNING: This is irreversible!
echo "WARNING: This will PERMANENTLY DELETE all data for ${CONTAINER_NAME}"
echo "This includes all logs, configurations, dashboards, and indexes!"
./uninstall.sh
# Remove docker compose volumes
docker compose -p "${CONTAINER_NAME}" down -v 2>/dev/null || true
# shellcheck disable=SC2046
destroy_items $(get_graylog_volumes) || _die "Failed to destroy docker volumes"
echo "Destroyed ${CONTAINER_NAME} and all data."