refac: reorganize scripts and ci workflows
This commit is contained in:
1 parent
90a02e623f
commit
070ab26501
22 files changed
+903
-1523
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Tear down the compose project and remove all volumes (including data).
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
echo "WARNING: This will stop all containers and delete all volumes (including persistent data)."
|
||||
read -rp "Are you sure you want to continue? [y/N]: " answer
|
||||
|
||||
if [[ "${answer,,}" =~ ^y(es)?$ ]]; then
|
||||
docker compose down -v
|
||||
echo "All containers and volumes have been removed."
|
||||
else
|
||||
echo "Operation cancelled."
|
||||
fi
|
||||
Reference in new issue
Block a user