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.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
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.
I update my servers with pkg_add -u
. No reason to over complicate things.
Podman has that built in via Systemd.
So does docker and pretty much everything else. I would be careful if you aren't doing it manually.
Yep. It'll work fine until it doesn't.
Ansible
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!
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.
Why ouroborous over watchtower for docker ?