this post was submitted on 08 Apr 2025
58 points (93.9% liked)

Selfhosted

46287 readers
654 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
you are viewing a single comment's thread
view the rest of the comments
[–] mbirth@lemmy.ml 9 points 2 weeks ago (9 children)

I’ve just set WatchTower to one-shot runs and whenever I have some time to fix eventual issues, I start the WatchTower container, it’ll pull any updates and stop again. No need to mess with my compose files (all set to latest) and no need for pull requests or similar.

[–] spacegoat@lemmy.world 1 points 2 weeks ago (5 children)

Interesting. Can you clarify what you meant by one-shot runs?

I have watchtower running all the time, would it be worth it/is it best practice to stop it

[–] daniskarma@lemmy.dbzer0.com 2 points 2 weeks ago (1 children)

I don't know fully what's they are doing. But here's my workflow with watchtower.

I have a cron task that runs watchtower every day on monitor-mode and only-once one time a day. That creates a list on what containers can be uograded. They using shourrr (it's already integrated with watchtower it's just an environment variable to do this) I send myself a message to my phone informing me of what updates are available. If I see fit to upgrade everything I just run watchtower once without monitor mode to upgrade all. I have pendant to automate this last part in a way that I just answer to the bot that's informing me of the updates and should apply the command without having me ssh into the server. But as for now I have to ssh and run a script I have at hand to launch the upgrade with watchtower.

There are some problematic containers that I don't want to upgrade this way. For those I have their compose files version locked and I upgrade them manually when I want.

[–] spacegoat@lemmy.world 1 points 1 week ago

Excellent, thank you.

load more comments (3 replies)
load more comments (6 replies)