Do not use refrigerator door switches. They are 110/120 rated.
Go to the junk yard and look at the door jams in a bunch of different cars. The door pin that tells your car the door is open and to turn on the courtesy lights is what you want to get.
You aren't looking for just any door pin though, you want to look for one that not only mounts the way you want it, but also has a 2 wire connector, not just a single wire. The reason being, is that the single wire connectors rely on the switch itself being grounded to the car's chassis. In a marine environment, in an interior compartment, that would most likely not be feasible since you are probably going to put it in the seats base, which is normally wood or fiberglass.
The pins with the 2 wire connectors do not need a chassis ground. They bridge the connectors together when it is not depressed (aka comparement opens). These you can wire up as the switch between the lights and the power, such as
[Ground from battery] --- [Switch] --- [Ground to lights]
[Power from battery] --- [Power to lights]
You don't have to get the switches at the junkyard if you don't want to, but they will be cheaper there. Typically they will go for like $1 a piece or so. I have had the junkyard just say screw it and let me walk out with them free of charg. You can just grab a handful of them to use, maybe get a little variety for different mounting options.
If you want them new, just remember the year, make, and model of the car and hit up the internet looking for new ones.