docs: Add 1 and update 13 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 49s

This commit is contained in:
j
2025-12-18 21:55:59 +13:00
parent b28e56eaba
commit d932a96731
14 changed files with 139 additions and 123 deletions

View File

@@ -1,11 +1,12 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
_check_required_env_vars "CONTAINER_NAME"
# STOP SCRIPT
# The stop script is required for all templates.
# It is used to stop the service on the server.
# Export variables for docker compose
export CONTAINER_NAME DATA_PATH HTTP_PORT PUID PGID TZ IMAGE_TAG DB_NAME DB_USER DB_PASS
_stop_container $CONTAINER_NAME || _die "Failed to stop container ${CONTAINER_NAME}"
cd "$SCRIPT_DIR"
docker compose stop || _die "Failed to stop containers"
echo "Container ${CONTAINER_NAME} stopped"