updated deploy scripts and locations

This commit is contained in:
buenosairesam
2025-12-31 08:21:07 -03:00
parent 9e9e0a5a25
commit fc63e9010c
33 changed files with 160283 additions and 758 deletions

25
cfg/amar/ctrl/stop.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Stop amar room (managed app + soleprint)
#
# Usage:
# ./stop.sh # Stop all
# ./stop.sh amar # Stop only amar
# ./stop.sh soleprint # Stop only soleprint
set -e
cd "$(dirname "$0")/.."
TARGET="all"
[ -n "$1" ] && TARGET="$1"
if [ "$TARGET" = "all" ] || [ "$TARGET" = "soleprint" ]; then
echo "Stopping soleprint..."
(cd soleprint && docker compose down)
fi
if [ "$TARGET" = "all" ] || [ "$TARGET" = "amar" ]; then
echo "Stopping amar..."
docker compose down
fi
echo "Done."