If you calibrate your compass on shore, you will be fine. Remember there may be other large ferrous objects on a 50 foot boat - like an engine block. As to whether you should calibrate your compass from time to time, I would trust the engineer who designed your drone and ignore random advice that you get on this forum. The answer is yes if you move the drone a significant distance - think over 100 miles.
Your flight setup screen allows you to choose whether the drone should consider where it took off as home or whether it should use the location of the remote controller. If you choose the remote controller, it will automatically keep updating the location of home as the controller moves. Be aware that if the RC loses connection with the drone, the drone will use the last known location which may be off if you move the boat a considerable distance while the connection is lost. This is not as big a problem as it sounds, over water there should not be connection issues and if there is, the drone should reacquire if you are close to the last known position. Remember, if the wind is blowing to fly upwind first or you may experience range issues coming home.
Don’t take off while the boat is moving unless you hand launch. The drone will auto hover in one spot in relation to the earth (not the boat) and some part of the after part of the boat may drive into it since it will be a stationary object. I highly recommend learning to hand launch and recover, there is often a lack of a large flat spot to land on and the boat may be pitching.
Having crashed my Mavic Pro a year ago trying to launch from a moving barge on the Danube, I can tell you that this is a very worthwhile skill to develop but I would wait if you are a relatively new pilot and don’t have a lot of practice. Carrier pilots have to be very skilled before they attempt their first landing. This is not nearly as hard but it is a very unforgiving environment for mistakes.