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.

(Not my tool / site, to be clear)

  • Lodra@programming.dev
    link
    fedilink
    English
    arrow-up
    19
    ·
    7 months ago

    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!

    • kelvie@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      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!

  • damnthefilibuster@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    I use this almost every time I need to launch something on my Portainer setup. It’s not perfect but works like a charm to convert simpler docker runs into yaml files.

  • wreckedcarzz@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    I use Dockge (in addition to portainer as a ‘something went sideways and I need more capabilities’), which has this ability built-in. It’s quite nice.