From f5a2c0ac237c282a788887aaa791bca28544188c Mon Sep 17 00:00:00 2001 From: Johanna Strebl Date: Fri, 10 Jan 2025 10:28:09 +0100 Subject: [PATCH] replace deprecated docker-compose --- install_container.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/install_container.sh b/install_container.sh index 6c4f7bb..1f27883 100644 --- a/install_container.sh +++ b/install_container.sh @@ -1,3 +1,4 @@ +#!/bin/bash # --------------------------------------------------------------------# # File: install_container.sh # @@ -94,16 +95,16 @@ echo "-= Wildfire Intelligence and Simulation Engine =-" echo "Bringing the stack up..." # if $DISABLE_BUILD_CACHE is true, then do the next 3 commands. - # Otherwise, just do the docker-compose up command + # Otherwise, just do the docker compose up command if [ "$DISABLE_BUILD_CACHE" = true ]; then echo "Build cache disabled. Removing the stack..." - docker-compose rm -f + docker compose rm -f echo "Pulling the latest images..." - docker-compose pull + docker compose pull echo "Bringing the stack up..." - docker-compose up --build -d + docker compose up --build -d else - docker-compose up --build -d + docker compose up --build -d fi