#!/bin/bash
source "${AGENT_PATH}/_common.sh"
_check_required_env_vars

# Watchtower Uninstall Script


# Load service environment variables
source ./service.env

echo "Uninstalling service ${CONTAINER_NAME}..."
_remove_container $CONTAINER_NAME || _die "Failed to remove container ${CONTAINER_NAME}"

echo "Service ${CONTAINER_NAME} uninstalled."

# Note: Watchtower doesn't typically have volumes to nuke.

