initial commit

This commit is contained in:
2025-08-13 22:51:13 -03:00
commit 68377fc083
13 changed files with 35400 additions and 0 deletions

18
stop_all_containers.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
for dir in /home/ccalifice/*; do
# Remove trailing slash
dir=${dir%/}
# Check if it is a directory and does NOT end with "DISABLED"
if [[ -d "$dir" && ! "$dir" =~ DISABLED$ ]]; then
if [ -f "$dir/docker-compose.yml" ]; then
echo "Bringing down Docker Compose in $dir"
(cd "$dir" && docker compose down)
else
echo "No docker-compose.yml found in $dir, skipping."
fi
else
echo "Project is disabled. Skipping $dir"
fi
done