Files

14 lines
331 B
Bash
Raw Permalink Normal View History

2020-02-19 15:55:06 +11:00
#!/bin/bash -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2020-05-21 16:11:19 +10:00
. "$DIR/.common.sh"
2020-02-19 15:55:06 +11:00
# Make sure docker exists
2025-10-14 19:01:00 +10:00
if hash docker 2>/dev/null; then
2020-02-19 15:55:06 +11:00
cd "${DIR}/.."
echo -e "${BLUE} ${CYAN}Stopping Dev Stack ...${RESET}"
2025-10-14 19:01:00 +10:00
docker compose down --remove-orphans
2020-02-19 15:55:06 +11:00
else
2025-10-14 19:01:00 +10:00
echo -e "${RED} docker command is not available${RESET}"
2020-02-19 15:55:06 +11:00
fi