There's a submarine comedy called Down Periscope from the 90s. The story is, of course, absolute ridiculousness (albeit highly entertaining ridiculousness).
I've repeatedly been told by navy veterans, however, that it comes closest to portraying actual life in the navy - in particular, that virtually every character in the film is someone you can (and likely will) actually encounter in the navy.
Also, people who are just going, "eh, fuck the commerce clause, the states should just do their own thing!" totally forgetting the absolute shitshow this would unleash, both from private companies and conservative states.