From 595473234e2c5bbd0d62f47a7a9282547a9095b3 Mon Sep 17 00:00:00 2001 From: Bea Steers Date: Wed, 17 May 2023 13:54:47 -0400 Subject: [PATCH] fix down command --- Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0107ff6..ff8f728 100644 --- a/Makefile +++ b/Makefile @@ -39,10 +39,14 @@ pull: git pull --recurse-submodules down: ## docker-compose down everything + [ -f ptg-server-ml/.env ] && cd ptg-server-ml && docker-compose \ + -f docker-compose.ml.yaml \ + -f docker-compose.record.yaml \ + down || : 0 + cd tim-dashboard && docker-compose \ + -f docker-compose.prod.yml \ + down || : 0 docker-compose \ - -f docker-compose.yaml \ - -f docker-compose.https.yaml \ - -f ptg-server-ml/docker-compose.ml.yaml \ - -f ptg-server-ml/docker-compose.record.yaml \ - -f tim-dashboard/docker-compose.prod.yaml \ - down + -f docker-compose.yaml \ + -f docker-compose.https.yaml \ + down || : 0