I would guess that you need to learn more about Docker usage in general, rather than just looking for a Docker Compose file
Yeah, I don’t really like using Docker so I always go for easier option, but my friend uses Docker a lot and also had troubles with Overleaf.
Also, I’d like to point out that Overleaf’s hosting and pricing options are quite reasonable, especially if you’re working for a university or institution: https://www.overleaf.com/user/subscription/plans
I don’t work for university, but I am a student that needs Latex. Overleaf free plan got really bad, even my thesis cannot be compiled now and Overleaf pricing isn’t really great. Student pricing is only for annually subscription, so it is not ideal for me.
Hedgedoc and Nextcloud Notes