this post was submitted on 28 Nov 2025
39 points (97.6% liked)

Selfhosted

53386 readers
49 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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!

top 32 comments
sorted by: hot top controversial new old
[–] dbkblk@lemmy.world 34 points 1 week ago* (last edited 1 week ago) (2 children)

I don't want to use automatic updates on self hosted projects but I subscribe on github / gitlab releases in my rss reader (FreshRSS) and update when I want to!

[–] raldone01@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (2 children)

Those damn pre-release notifications though!!!! (Githubs fault for not implementing filtering)

[–] BlueBockser@programming.dev 1 points 5 days ago* (last edited 5 days ago)

If you also use FreshRSS, you can configure filters to automatically mark new articles as read (e.g. intitle:'beta'). Since I only view unread articles, that effectively deletes them and I never have to see them!

[–] uninvitedguest@piefed.ca 2 points 6 days ago

I use email rules to filter those ones out. Linux server containers are especially egregious.

[–] keksbaecker@lemmy.world 3 points 1 week ago

Thank you for this idea. I wasn’t aware, that you can subscribe to an rss feed for releases on gitlab/github.

I think that I will follow your approach.

[–] themachine@lemmy.world 18 points 1 week ago (1 children)

I don't pay any mind to example compose files. My are all quite custom anyway. Only thing that matters is paying attention to changelogs and watching for breaking changes.

[–] Appoxo@lemmy.dbzer0.com 2 points 1 week ago* (last edited 1 week ago)

Same here.
Read deployment documentation, configure compose to my standards, deploy, update where necessary to align with the update (e.g. remove an environment variable.

The editing is done on my PC, then I open WinSCP or ssh into it (depending on my mood and amount of changes) and then apply the changes

[–] frongt@lemmy.zip 14 points 1 week ago (2 children)

I have automatic updates through a watchtower fork, so I just leave it alone until it breaks, then I go to the project site to see what changed. This has happened maybe twice in the last couple years.

[–] neonrain@piefed.social 2 points 1 week ago

I use a watchtower fork as well to keep some containers updated but I'm curious how others keep on top of docker-compose.yml files that the project updates over time. As an example, I've been using a container for years and noticed today that on the github page they've added a section in the compose file for a health check. I never would've known that was added if I didn't stumble upon it due to another issue.

[–] Appoxo@lemmy.dbzer0.com 1 points 1 week ago (1 children)

Hope you have backups.
Broke my neck a few times (I currently am waiting out the jellyfin patches and stay on 10.10.7 (i think))

[–] shiftymccool@piefed.ca 1 points 6 days ago* (last edited 6 days ago) (1 children)

Easy, reliable backups are key. I've used komodo with automatic updates for over a year and watchtower before that for a couple more. I've only had one issue when Nginx Proxy Manager had a release that deleted all of its own data. Didn't take long to realize that the services were still up and what the problem was. Restored the missing data from Proxmox backups, pinned the Nginx version for a while, then turned auto update on again. I'll stick to this until checking updates is less work than fixing the occasional problem

[–] Appoxo@lemmy.dbzer0.com 1 points 6 days ago

Just a few days ago, my docker host upgraded the docker engine from 28 to 29.
Woke up to 10 notifications from my uptime monitoring that they are offline.

Funny thing is: The external monitor showed they are down. The internal monitor showed no issues.

But after I went through with the long procrastinated upgrade from debian 11 to debian 13, migrating the data and doing nothing to the compose files, all services worked without any issue.
I don't know what my old host did or did not but now it works, I guess? Not complaining but the whole routing thing is a bit beyond me

[–] IanTwenty@piefed.social 10 points 1 week ago (2 children)

This is new:

https://github.com/dkorecko/PatchPanda

Self-hostable Docker Compose stack update manager.

And

when you choose to update, PatchPanda edits compose/.env files and runs docker compose pull and docker compose up -d for the target stack. You can also view live log.

Discovered in the latest Self Host Weekly:

https://selfh.st/weekly/2025-11-28/

I have not tried it myself tho.

[–] irmadlad@lemmy.world 2 points 6 days ago

PatchPanda

I too saw PatchPanda on selfh.st and it is on my watch list. The only thing holding me back is that it isn't out of beta yet. So, I'm waiting on other selfhosters to plow that field before I deploy. It does look like it would solve a lot of problems tho.

[–] neonrain@piefed.social 2 points 1 week ago

Hmmm I've heard of it but haven't tried it. I'll dip my toe, thanks!

[–] eskuero@lemmy.fromshado.ws 8 points 1 week ago (1 children)

I run changedetection and monitor the samples .yml files projects usually host directly at their git repos

[–] neonrain@piefed.social 3 points 1 week ago

Ah ok cool I'll check that out. Thanks!!

[–] Object@sh.itjust.works 6 points 1 week ago (1 children)

Other than keeping an eye on their changelog or waiting until it breaks, I don't think you can do anything about that. I do have automatic update, but the config rarely changes from my experience.

[–] neonrain@piefed.social 1 points 1 week ago

That's kind of what I've found but wasn't sure if I was just missing something. Thanks!

[–] Mora@pawb.social 4 points 1 week ago (2 children)

I deploy and update my service similiar to this fantastic guide: https://nickcunningh.am/blog/how-to-automate-version-updates-for-your-self-hosted-docker-containers-with-gitea-renovate-and-komodo

Basically I run Komodo, which pulls a git repo. Renovate opens a PR (and most of the time the changelog is included, so I can quickly check what happened) for new versions. Once merged a webhook fires to tell Komodo to pull the new version.

I really recommend this approach now. Once setup it is very automatic, but not to the point of YOLO-automation like Watchtower and :latest 😅

[–] mal3oon@lemmy.world 2 points 1 week ago (1 children)

Genuine question, is there any benefit to docker over podman?

[–] Mora@pawb.social 1 points 1 week ago

Not that I am aware of. Komodo should be compatible with podman as well.

[–] neonrain@piefed.social 1 points 1 week ago

This seems really interesting. I'll have to read up on it more and try to wrap my head around it but I'm definitely checking this out. Thank you!!

[–] mesamunefire@piefed.social 3 points 1 week ago

Good projects will have docs associated with the docker/docker compose files.

The way we do it is, any update to the .yaml files will have a corresponding .yaml.Dev associated with it. That way it won't be overwritten when an update occurs as well as give a recommended setup.

[–] nfreak@lemmy.ml 2 points 1 week ago

I set this up a while back (and recently moved to Forgejo, see the update note at the beginning of the article):

https://nickcunningh.am/blog/how-to-automate-version-updates-for-your-self-hosted-docker-containers-with-gitea-renovate-and-komodo

Probably a tad overkill honestly but it works amazingly well, and turns every potential upgrade into an approval process so nothing will update when you don't want it to.