Skip to content

Commit

Permalink
fix start-ls.sh command to use new ls compose layer scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobello committed Nov 7, 2023
1 parent 10ce981 commit 7063545
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions root/bin/ls/start-ls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@ elif [ "$1" = "internal" ]; then
IS_HOST="0"
fi

if [ "$IS_HOST" = "0" ]; then
echo "start-ls.sh using container mode"
COMPOSE_FILES="-f dc-ls.yml"
else
COMPOSE_FILES="-f dc-ls.yml"
if [ "$IS_HOST" = "1" ]; then
echo "start-ls.sh using host mode"
COMPOSE_FILES="-f dc-ls-host.yml"
COMPOSE_FILES="$COMPOSE_FILES -f dc-ls-host.yml"
fi

if [ -n "$LOCALSTACK_STATIC_IP" ]; then
COMPOSE_FILES="$COMPOSE_FILES -f dc-ls-static-ip.yml"
fi
Expand Down

0 comments on commit 7063545

Please sign in to comment.