Netlify-cms setup without netlify

Hi yall. Can someone recommend a good resource for netlify-cms setup without netlify. I’m deploying on my own physical server behind apache2 with Gatsby. All of the netlify provided tutorials use netlify hosting and authentication. The Gatsby provided tutorials do the same. I specifically would like to know how to setup authentication for admin page. Also either how to setup the content server locally or how to reference a remote content server but keep the rest of the site locally

This is a pretty good post about setting up your own authentication: It’s obviously opinionated but I hope it helps.