We hang on a mooring and anchor out while cruising nearly 100% of the time. If I take the boat to the dock for an overnigter for maintenance, I'll run the fridge off AC, as well as to fully charge the 3 battery banks (house, start, and thruster/windlass). On a 1-10 NovaCool thermostat, we keep the fridge between 3-4, enough to keep ice from melting. We have an 8 amp, 16.5 volt, 130 watt solar panel on pilot house roof, and that's enough to keep the house batteries charged while on the mooring or anchor. Unless we go through several days of no/low sun, we're usually OK. If we leave the boat for a couple of days, I'll turn thermostat down to "1", and that will defrost the freezer, but hold cold for when we return. NovaCool fridge has an 11.7 volt cutout. If we leave for an extended period, say 4 days or more, I'll turn off the fridge. When we return, I'll jump start the fridge (set at "6" or above) by either taking boat to dock, plug in, load up, wash down, etc., or just run engine (we have no generator) for an hour, or we just take off.
Just another perspective of refrigerator usage without shore power. At some point, I may add another solar panel, but this has served us for over 10 years. Maintaining a good set of house batteries is important. We have a pair of 6 volt Interstate house batteries. The original set lasted 10 years! I just replaced them with a pair of 232 AH 6 volt Interstate batteries last August 2015.