Rename template/ to infmap/, add template publish CI job
This commit is contained in:
12
infmap/uninstall.sh
Executable file
12
infmap/uninstall.sh
Executable 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"
|
||||
Reference in New Issue
Block a user