I had an issue recently with getting FileBrowser to run and while researching that, I found this tool which creates a docker-compose.yml file from a docker run command. It worked well for me, so I am passing it along to you all. I hope someone else finds this helpful.
I recently discovered k3d. It’s a light wrapper around k3s, which is kubernetes on docker. It’s amazingly easy to use! If you have docker installed, you can learn the commands and create a k8s cluster in under 5 minutes.
For anyone like me that likes k8s, k3d is a fantastic alternative to docker compose!
I guess it's finally to the point where selfhosters can admit to using k8s and not be bombarded by comments saying it's overkill, which has happened in the past for:
Self hosting at all
Using VMs
Using containers
Using docker compose
Using k8s (⬅️ I guess we are here)
Using helm charts or whatever ends up replacing this
Anyway, I believe there is a tool also to turn docker compose files into k8s manifests if we want to take this a step further!