From 6c1a4d34fa223397055dfec4f8738441e88881ff Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Fri, 24 Feb 2023 19:34:00 +0000
Subject: [PATCH] Use docker-cli-compose.

fixes https://github.com/liske/dpns/issues/1
---
 src/dpns-run | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dpns-run b/src/dpns-run
index 48209a1..4af4639 100755
--- a/src/dpns-run
+++ b/src/dpns-run
@@ -34,10 +34,10 @@ fi
 
 for dn in ${DPNS_COMPOSES[*]}; do
     if [ -d "$dn" ]; then
-        cd "$dn" && docker-compose up -d
+        cd "$dn" && docker compose up -d
     else
         cf=$(basename $dn)
         dn=$(dirname $dn)
-        cd "$dn" && docker-compose -f "$cf" up -d
+        cd "$dn" && docker compose -f "$cf" up -d
     fi
 done
-- 
2.39.2

