diff --git a/scripts/local-up.sh b/scripts/local-up.sh index 5f177e9..8774efc 100755 --- a/scripts/local-up.sh +++ b/scripts/local-up.sh @@ -21,7 +21,7 @@ done echo "Waiting for Redis..." RETRY_COUNT=0 -until redis-cli -h localhost -p 6379 ping | grep -q "PONG"; do +until docker exec mci-redis redis-cli ping | grep -q "PONG"; do RETRY_COUNT=$((RETRY_COUNT + 1)) if [ "$RETRY_COUNT" -ge 30 ]; then echo "Redis did not become ready within 30 seconds."