From bf34743c68fa8eff9b7cf04ebeadabd6fd6a8dab Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Wed, 14 Apr 2021 23:20:46 +0300 Subject: [PATCH] Run the delete.sh script before deploying Make sure everything is in clean state, including volumes. --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 083128e..da74a3a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -28,8 +28,8 @@ sleep 1 TIME_START=`date +%s` # Just in case something is up from previous runs -echo "Bringing down any previous containers..." -docker-compose -f docker-compose-jfrog.yml down +echo "Bringing down any previous containers that are still running..." +./delete.sh # Run containers echo "Bringing up containers..." -- 2.2.2