Skip to content

Commit

Permalink
Use compose from parameters for pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Leskov committed Mar 17, 2021
1 parent afbcde0 commit 73396db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-in-compose.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
service=$1
project=${2:-"run-in-compose"}
compose_file=${3:-"docker-compose.yml"}
docker-compose pull -q
docker-compose --file "$compose_file" pull -q
docker-compose -f "$compose_file" -p "$project" up -d --no-build
container_to_wait="$project"_"$service"_1
echo "waiting for container $container_to_wait"
Expand Down

0 comments on commit 73396db

Please sign in to comment.