Skip to content

Commit

Permalink
fixing conflicts with main
Browse files Browse the repository at this point in the history
  • Loading branch information
SwaroopH committed Aug 30, 2024
2 parents 22d4535 + cf3a0a4 commit b41abf6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,17 @@ else
fi

if ! [ -x "$(command -v docker-compose)" ]; then
echo 'docker compose not found, trying to see if compose exists within docker'
docker compose -f docker-compose.yaml pull
echo 'docker compose not found, trying to see if compose exists within docker';
# assign docker compose file according to $ARG1

docker compose -f docker-compose.yaml $COLLECTOR_PROFILE_STRING pull
if [ -n "$IPFS_URL" ]; then
docker compose -f docker-compose.yaml --profile ipfs $COLLECTOR_PROFILE_STRING up -V --abort-on-container-exit
else
docker compose -f docker-compose.yaml $COLLECTOR_PROFILE_STRING up -V --abort-on-container-exit
fi
else
docker-compose -f docker-compose.yaml pull
docker-compose -f docker-compose.yaml $COLLECTOR_PROFILE_STRING pull
if [ -n "$IPFS_URL" ]; then
docker-compose -f docker-compose.yaml --profile ipfs $COLLECTOR_PROFILE_STRING up -V --abort-on-container-exit
else
Expand Down

0 comments on commit b41abf6

Please sign in to comment.