From 43a0518d3d184f1d0b3359bb4a28967f6daedb3f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 1 Nov 2022 15:57:50 -0700 Subject: [PATCH] Run compose commands from proper directories --- homelab/server/scripts/apply_minecraft_server_list.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homelab/server/scripts/apply_minecraft_server_list.sh b/homelab/server/scripts/apply_minecraft_server_list.sh index f3143522..f2704821 100755 --- a/homelab/server/scripts/apply_minecraft_server_list.sh +++ b/homelab/server/scripts/apply_minecraft_server_list.sh @@ -1,7 +1,7 @@ #!/bin/bash # Apply updated EXPORT_SERVERS -docker-compose -f /home/joey/homelab/server/config/monitoring up -d --force-recreate exporter-minecraft +cd /home/joey/homelab/server/config/monitoring && docker-compose up -d --force-recreate exporter-minecraft # Apply updated router mappings -docker-compose -f /home/joey/homelab/server/config/minecraft up -d --force-recreate router +cd /home/joey/homelab/server/config/minecraft && docker-compose up -d --force-recreate router