Yasiel Puig and Hanley Ramirez also had run-scoring hits for the Dodgers, who trail the best-of-seven series 2-1. Game 4 is Tuesday at Dodger Stadium, followed by Game 5 on Wednesday.
Los Angeles got Ramirez and center fielder Andre Ethier back in the lineup after both proved in batting practice they were healthy enough to play. Ramirez wore a lightweight flak jacket to protect his broken left rib — having been hit by a pitch from Joe Kelly in Game 1 — while Ethier has been bothered by shin splints.
Ramirez singled his first time up off Wainwright and then helped the Dodgers extend their lead to 3-0 in the eighth.
Ramirez hit a soft single off Seth Maness over the head of new second baseman Kolten Wong to score Carl Crawford. The speedy Crawford, on second base after a one-out single, rounded third and never stopped running when the throw from the outfield went to second base.
On a close play at the plate, Crawford barely beat the tag by catcher Yadier Molina.
Ryu and Wainwright were nearly even through the first three scoreless innings, with Wainwright giving up one hit. Ryu retired 12 of his first 13 batters, yielding only a walk.