this post was submitted on 15 Nov 2023
2 points (75.0% liked)

Self-Hosted Main

511 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Someone recommended it for keeping my containers up to date automatically. I checked out the repo and it seems too good to be true. It just updates your containers when a new image is available and everything just works out of the box? I'm a bit scared of just leaving it alone in case it might break something. The fact that it doesn't come with a gui also scares me a bit.

Does anyone here use it and can recommend it? Any horror stories?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (2 children)

If you want highly available system, then you should perform updates with a custom made script, where you can control update issues. Otherwise watchtower is good.

[–] [email protected] 1 points 1 year ago

Curious how a custom script to perform the update would be different than watchtower doing it? Is an automated update not an automated update regardless of what triggers it?

[–] [email protected] 0 points 1 year ago (2 children)

If you have a script like this any chance you could open source it?

[–] [email protected] 1 points 1 year ago (2 children)

My script looks like this: https://gist.github.com/dgalli1/010fb978bae509dda43a1f31145a530f

And is ment to update docker-compose.yml files.

[–] [email protected] 1 points 1 year ago

Great script! Only thing I can recommend is adding a "docker image prune -af" command after all compose files have had new images pulled and are up…unless you want old images taking up hard drive space/you have a valid reason for keeping old images.

[–] [email protected] 1 points 11 months ago

If you want to have zero downtime, you can scale the container to two and if everything succeeded just kill the old container. (Need reverse proxy with balancing like caddy)

[–] [email protected] 0 points 1 year ago

You understand that at the point where they open source it and publish it it would be essentially watchtower right? The point of having a custom-made script is so that you can customize it to your specific needs if it's a generalized item then just use watchtower.