4 ms·
So far I've found that "restart: always" in the compose.yml is enough for my home server apps. In the rare case that one of the services is down, I can SSH in a
by mafro 5y ago
So far I've found that "restart: always" in the compose.yml is enough for my home server apps. In the rare case that one of the services is down, I can SSH in and have a quick look - after all it's one of my home servers, not a production pod on GKE :p
That said, the project looks pretty good! I'll have a tinker and maybe I'll be converted
- stavros 5y agoAgreed about restarting, but I hated two things: Having to SSH in to make changes, and having a bunch of state in unknowable places that made it extremely hard to change anything or migrate to another machine if something happened. With Harbormaster, I just copy one YAML file and the `data/` directory and I'm done. It's extremely convenient.
- uniqueuid 5y agoJust to add: It's definitely a bad practice to never update your images, because the docker images and their base images will accumulate security holes. There aren't many solutions around for automatically pulling and running new images.
- scandinavian 5y ago>There aren't many solutions around for automatically pulling and running new images. Isn't that exactly what watchtower does? https://github.com/containrrr/watchtower https://github.com/containrrr/watchtower It works great on my mediacenter server running deluge, plex, sonarr, radarr, jackett and OpenVPN in docker.
- stavros 5y agoWatchtower runs the images if they update, but AFAIK it doesn't pull if the base image changes. Then again, Harbormaster doesn't do that either unless the upstream git repo changes.
- uniqueuid 5y agoWell, yes. Curiously enough, (IIRC) watchtower started out automatically pulling new images when available. Then the maintainers found that approach to be worse than proper orchestration and disabled the pulling. Perhaps it's different now.
- Aeolun 5y agoMy experience with watchtower is that it kept breaking stuff (or maybe just pulling broken images?) My server was much more stable after it didn’t try to update all the time any more. I wonder if I can set a minimum timeout.
- NortySpock 5y agoI've heard about Watchtower (auto update) and DUIN (docker image update notifier), but I haven't quite found something that will "just tell me what updates are available, on a static site". I want to "read all available updates" at my convenience, not get alerts reminding me to update my server. Maybe I need to write some sort of plugin to DUIN that appends to a text file or web page or SQLite db... Hm.
- andrewkdinh 5y agoLooks like https://crazymax.dev/diun/notif/script/ https://crazymax.dev/diun/notif/script/ would be useful for that. Personally, since I’m a big fan of RSS, I’d set up email in Diun and send it to an email generated by https://kill-the-newsletter.com/ https://kill-the-newsletter.com/