All sorts of terms get bandied about on the Internet: galvanic corrosion, electrolytic corrosion, stray current corrosion, electrolysis, crevice corrosion and some authors get adamant about when each term should be used.
First is electrolysis. This describes the reaction when you submerge two electrodes (metals) in an electrolyte (such as sulphuric acid in a lead acid battery or seawater when talking about our vessel corrosion). In seawater electrolysis, as you pass current through the electrolyte, you will get hydrogen at the cathode and oxygen plus chlorine at the anode: the anode oxidizes and the cathode reduces chemical species. I used this chemistry to design and implement an onboard chlorine generator that produces chlorine by passing 8000 amps DC through seawater. Fun project that used the principles of electrolysis to kill foreign species in ballast water tanks.
So electrolysis is occurring any time you create current through seawater. This current can be from 'stray current' corrosion or galvanic corrosion.
Galvanic corrosion occurs whenever you submerge dissimilar metals in an electrolyte. Such as an aluminum hull with a stainless fastener.
Stray current corrosion, sometimes called electrolytic corrosion, occurs from applying currents improperly to any metal in contact with the water.
From a practical perspective, galvanic corrosion is something you want to control by establishing your hull and engines at one potential so the galvanic action of your anodes bear the entire brunt of the galvanic corrosion. On your aluminum vessel you want to ensure your hull and your motors are at the same potential by bonding them all to one common bonding bar, and making sure your hull and anodes are thoroughly mechanically/electrically connected to that bond. Ideally, your aluminum alloy anodes should be welded to your aluminum hull to ensure a corrosion free bond. This ensures your hull will have minimal galvanic corrosion.
However when you moor your boat, you become susceptible to stray current corrosion caused by your own boat (miswiring) and any nearby boats that are improperly wired. Your boat should be wired so the hull and all metal are bonded, but wired so no current flows through the hull. Lots of items can be miswired to cause current flow through your hull: fuel level sensors are culprits, wiper motors are culprits, led lights are culprits all because they incorrectly have chassis electrical connections (usually because they are designed for automotive use, not marine use). And the moment you add any AC wiring to your vessel, you have a way more complex (and dangerous) grounding/bonding scenario.
The simple answer to your situation is to do a review of your grounding and bonding wiring on your boat and to determine if your moorage is at fault for your corrosion. The definitive way to check your boat at moorage is to use a DVM and a silver silver chloride reference cell to verify all potentials of all metal in contact with the water. This measurement will show improper voltages that need to be addressed by rewiring and/or bonding of anodes.