Move template to template/ dir, add CI workflow, use pre-built image
Some checks failed
Build-Publish / build (linux/amd64) (push) Successful in 13s
Build-Publish / build (linux/arm64) (push) Successful in 40s
Build-Publish / create-manifest (push) Failing after 1s

This commit is contained in:
j
2026-03-07 19:54:06 +13:00
parent d8754a9d92
commit 070cca7c8d
17 changed files with 89 additions and 13 deletions

12
template/uninstall.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
_check_required_env_vars "CONTAINER_NAME"
docker compose -p "${CONTAINER_NAME}" down || _die "Failed to stop services"
# DO NOT remove volumes here! Data is preserved for reinstallation.
echo "Uninstallation of ${CONTAINER_NAME} complete"
echo "Note: Data volumes have been preserved. To remove all data, use destroy.sh"