zkt26/z1/remove-app.sh
2026-03-31 19:33:15 +02:00

12 lines
306 B
Bash
Executable File

#!/bin/bash
echo "Removing all traces of the application..."
# Demolish containers natively gracefully
docker compose down -v --rmi all
# Ensure the manually created network is gone
docker network rm app-network 2>/dev/null || true
docker volume rm z1_mysql-data 2>/dev/null || true
echo "Removed app."