![](https://lemmy.blahaj.zone/pictrs/image/40383ffd-08e0-4f7f-88be-1f4d61dbf2ec.jpeg)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
For me it’s probably the way I self-host overleaf, a online LaTeX editor. The community version has a docker image that’s horribly maintained (because they want to sell enterprise, I reckon), and instead relies on a horrendous amalgamation of setup scripts that wrap docker compose.
What I have is a Dockerfile that pulls the image, manually installs a second version of TeX with the right dependencies, unlinks the old one and links the second one. Then for the database, it uses Mongo replsets, which be to be manually initialized. So I wrote a health check for the container that checks if the repl set is initialized, and if that fails the health check initializes it.
It’s horrendous, it’s disgusting, and it’s an all-in-one compose file to get overleaf running. Good enough.
People send fucking Word docs‽