stop-dev 331 B

12345678910111213
  1. #!/bin/bash -e
  2. DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  3. . "$DIR/.common.sh"
  4. # Make sure docker exists
  5. if hash docker 2>/dev/null; then
  6. cd "${DIR}/.."
  7. echo -e "${BLUE}❯ ${CYAN}Stopping Dev Stack ...${RESET}"
  8. docker compose down --remove-orphans
  9. else
  10. echo -e "${RED}❯ docker command is not available${RESET}"
  11. fi