Formerly /u/neoKushan on reddit

  • 0 Posts
  • 8 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle

  • I generally agree with the sentiment but don’t pull by latest, or at the very least don’t expect every new version to work without issue.

    Most projects are very well behaved as you say but they still need to upgrade major versions now and again that contains breaking charges.

    I spebt an afternoon putting my compose files into git, setting up a simple CI pipeline and use renovate to automatically create PR’s when things update. Now all my services are pinned to specific versions and when there’s an update, I get a PR to make the change along with a nice change log telling me what’s actually changed.

    It’s a little more effort but things don’t suddenly break any more. Highly recommend this approach.







  • Start off simple, use something like uptime-kuma just to check your services are available - takes minutes to set up and can send you notifications when something goes down. It can plug into docker directly to check if a container is up, as well as perform HTTP checks that the service is responding, plus some other cool stuff.

    (Side note, I set up ntfy to handle notifications and it’s great! Another solid recommendation but you can use discord web hooks or whatever as well)

    The other options described here are good for gathering and visualising data, but it takes quite a bit to set them up and even more to configure the right kinds of alerts to notify you when something is wrong. A simple “is this docker container running” check or a “does this respond with a http 200” check gets you like 95% the way there.