Gasket
I don't know how the cover closes on your compartment.
Assuming that's where the water is coming in.
I had a similar problem on a different boat.
I used some of that adhesive weather stripping to form a gasket on the inside of the lid. Although it did require replacing every couple of years. Your local hardware store may have something more durable.