Skip to content

Commit

Permalink
missed docker exec container name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlukens committed Mar 12, 2024
1 parent 095a7d4 commit fa13afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start-mongodb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ wait_for_mongodb () {
fi

# until ${WAIT_FOR_MONGODB_COMMAND}
until docker exec --tty mongodb $MONGODB_CLIENT --port $MONGODB_PORT $MONGODB_ARGS --eval "db.serverStatus()"
until docker exec --tty $MONGODB_CONTAINER_NAME $MONGODB_CLIENT --port $MONGODB_PORT $MONGODB_ARGS --eval "db.serverStatus()"
do
echo "."
sleep 1
Expand Down

0 comments on commit fa13afe

Please sign in to comment.