mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-23 03:43:33 +00:00
Move from docker-compose to docker compose
This commit is contained in:
@@ -3,12 +3,11 @@
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
. "$DIR/.common.sh"
|
||||
|
||||
# Ensure docker-compose exists
|
||||
# Make sure docker exists
|
||||
if hash docker-compose 2>/dev/null; then
|
||||
if hash docker 2>/dev/null; then
|
||||
cd "${DIR}/.."
|
||||
echo -e "${BLUE}❯ ${CYAN}Stopping Dev Stack ...${RESET}"
|
||||
docker-compose down --remove-orphans
|
||||
docker compose down --remove-orphans
|
||||
else
|
||||
echo -e "${RED}❯ docker-compose command is not available${RESET}"
|
||||
echo -e "${RED}❯ docker command is not available${RESET}"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user