this post was submitted on 06 Feb 2025
27 points (96.6% liked)

Selfhosted

41792 readers
796 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
[–] monomon@programming.dev 3 points 12 hours 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.

[–] poVoq@slrpnk.net 6 points 14 hours ago (1 children)

Podman has that built in via Systemd.

[–] possiblylinux127@lemmy.zip 2 points 14 hours ago* (last edited 14 hours 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 7 hours ago

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

[–] tux0r@feddit.org 3 points 13 hours ago

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

[–] Strit@lemmy.linuxuserspace.show 2 points 12 hours 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.

[–] possiblylinux127@lemmy.zip 3 points 14 hours ago
[–] sunoc@sh.itjust.works 6 points 18 hours 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!

[–] catloaf@lemm.ee 3 points 17 hours ago* (last edited 17 hours 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 17 hours ago

Why ouroborous over watchtower for docker ?