https://www.peterboswell.me/activities/open-source-mapping/installing-maplibre-gl-with-tileserver-gl/

This is the basis I've used for FBXL Maps at https://maps.fbxl.net/

Still doing more work with fbxl maps, I'm not happy with the nav interface yet