Fixes: 1) Apply `--omit` filter for test coverage reports to exclude unnecessary files; 2) Replace `services_data` volume mounts with named Docker volumes for consistency and cleanup (e.g., `postgres-data`, `redis-data`); Extra: 1) Remove `services_data` from `.gitignore`, Docker-related cleanup in uninstall scripts; 2) Simplified related files removal scripts for Unix and Windows; 3) Minor adjustments in documentation comments.
23 lines
577 B
Bash
23 lines
577 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
source ./scripts/Unix/starter.sh
|
|
|
|
echo "Shutting down..."
|
|
docker compose down
|
|
echo "Services were shut down successfully!"
|
|
|
|
echo "Removing volumes..."
|
|
docker volume rm -f evibes_prometheus-data
|
|
docker volume rm -f evibes_es-data
|
|
echo "Volumes were removed successfully!"
|
|
|
|
echo "Cleaning up unused Docker data..."
|
|
docker system prune -a -f --volumes
|
|
echo "Unused Docker data cleaned successfully!"
|
|
|
|
echo "Removing related files..."
|
|
rm -rf ./media ./static
|
|
echo "Related files removed successfully!"
|
|
|
|
echo "Bye-bye, hope you return later!"
|