For those of you that use docker, how do you make sure your docker-compose.yml (and possibly .env) files stay current with the project’s ongoing updates? I’m sure there’s an easier way than what I’m doing which is manually getting the latest ones and checking the diffs in vscodium. And I’m sure some git magic already takes care of this but I’ve been slow in learning git beyond the VERY basics. Thanks!

    • Nawor3565@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      2
      ·
      8 hours ago

      I cannot recall a single self-hosted software documentation that mentions how to keep the docker config file up to date. Why bother wasting 5 seconds writing such an unhelpful comment

      • shnizmuffin@lemmy.inbutts.lol
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        11
        ·
        8 hours ago

        Tell me you don’t read the manual without saying you don’t read the manual.

        I can recall a few! Mastodon. Lemmy. PiHole. Penpot. Mealie. Uptime Kuma.

        They all mention required steps to upgrade between releases, including what to do to your docker installations and environment variables.

        • neonrain@piefed.socialOP
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          8 hours ago

          PLENTY of projects make tiny non-breaking changes to the compose files without any mention that users should update the file. For example, adding a section for a container health check. While these can be no big deal for a while over time they can add up to major changes in the config that users may not catch if they are not comparing yml files.

    • Lka1988@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      edit-2
      8 hours ago

      This is the kind of attitude that drives people away from open source.

      Yes, people should read the manual, but at some point they will have questions, and there are a lot of projects that aren’t clear on certain things. Such as YAML changes.