Skip to content

Commit

Permalink
fix run command
Browse files Browse the repository at this point in the history
  • Loading branch information
harbu committed Aug 7, 2024
1 parent 6d98ffe commit b0d970b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions streamr-docker-dev/bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ DRY_RUN=0
FOLLOW=0
WAIT=0
WAIT_TIMEOUT=500 # seconds
DOCKER_COMPOSE="docker compose --ansi never -f docker-compose.yml run"
ADDITIONAL_COMPOSE_OPTS=""
if [ -n "${CI-}" ]; then # Apply CI override when running on CI server
DOCKER_COMPOSE="$DOCKER_COMPOSE -f docker-compose-ci.yml"
ADDITIONAL_COMPOSE_OPTS="$DOCKER_COMPOSE -f docker-compose-ci.yml"
fi
DOCKER_COMPOSE="docker compose --ansi never -f docker-compose.yml $ADDITIONAL_COMPOSE_OPTS run"

# don't start these services unless explicitly started
EXCEPT_SERVICES_DEFAULT=() # array of string e.g. ("a" "b")
Expand Down

0 comments on commit b0d970b

Please sign in to comment.