• k_rol@lemmy.ca
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    2 days ago

    I love the concept too and I just hope it will catch on much more than this. To convert your compose files you could use Podlet. I’m also working on converting it to JavaScript(PodletJS) so it’s available in it-tools.

    Go for Podlet though, really nice for command lines.

    Sorry for all the links, I got overly excited 😆

    • Fisch@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Thank you for telling me about Podlet. I’ve been using podman-compose for all my containers but I’ve thought about converting them to systemd units. The only thing I’m unsure about is whether it’ll still be easy to access the container files. Currently I have a containers folder with a folder for each service inside it. Inside that, there’s the compose.yml and the folders with the container data. I map all container folders, with data that needs to be kept, to a folder that sits right next to the compose file. If it’s just temporary data (like caches), I oftentimes map it to a volume because it doesn’t matter if I lose it. Do you know if I can still do it like this (or in a similar way) if I use systemd units?

    • Botzo@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      I used podlet on my compose file. I was a little disappointed in the limitations, as a lot of things like variable interpolation isn’t available.

      That said, the output made me wonder why I’ve waited! It was so much simpler than I imagined. It also helped demystify unit files a bit more.