Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions install_container.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash

# --------------------------------------------------------------------#
# File: install_container.sh #
Expand Down Expand Up @@ -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


Expand Down