this post was submitted on 06 Feb 2025
30 points (96.9% liked)

Selfhosted

42729 readers
590 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.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi guys! I was wondering whatever solution you guys might use to check/update your servers/containers? I'd like not having to depend on any cloud, something running locally would be great.

Thanks!

top 10 comments
sorted by: hot top controversial new old
[–] sunoc@sh.itjust.works 8 points 2 weeks ago

I set and update my containers with Ansible. It works well, but it’s a bit slow and it’s a whole setup on top of your deployment!

[–] poVoq@slrpnk.net 7 points 2 weeks ago (1 children)

Podman has that built in via Systemd.

[–] possiblylinux127@lemmy.zip 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

So does docker and pretty much everything else. I would be careful if you aren't doing it manually.

[–] lemmeBe@sh.itjust.works 1 points 2 weeks ago

Yep. It'll work fine until it doesn't.

[–] catloaf@lemm.ee 5 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Docker: ouroboros. Linux: unattended-upgrades or dnf-automatic. Windows: MECM.

I know those FOSS ones aren't centralized, but I find it a lot easier for them to just update themselves as necessary.

[–] fangleone2526@lemmy.world 1 points 2 weeks ago

Why ouroborous over watchtower for docker ?

[–] possiblylinux127@lemmy.zip 5 points 2 weeks ago
[–] tux0r@feddit.org 4 points 2 weeks ago

I update my servers with pkg_add -u. No reason to over complicate things.

[–] monomon@programming.dev 4 points 2 weeks ago

With Gitea/Forgejo you can run a local actions executor, which builds the images, pushes to gitea's image registry, and using a script pulls them on the other side and restarts them. Worked fine in our small startup.

[–] Strit@lemmy.linuxuserspace.show 3 points 2 weeks ago

I run a script each week that updates docker images and restarts containers. And also every week I run a system update command and reboot the server afterwards.

You shouldn't run a server, if you don't have to time to maintain it.