Hacker News new | ask | show | jobs
by arepublicadoceu 1181 days ago
> but it is Docker-based and I am already like 10 versions behind and I am too lazy/scared to learn how to upgrade it without destroying the Universe.

You should be scared, the other day I messed a completely functioning miniflux docker by upgrading it. It's been so long since I set it all up that I lost the incantation necessary for the setup or the will to look it up, just went ahead and I'm using newsblur again. Sigh.

I'm getting old and loosing the will/patience to selfhost.

2 comments

I've faced this before. Ever since I've always preferred using a docker compose file so that all those myriad configurations get saved correctly.
You guys need to use docker compose, then it is as simple as docker compose pull then docker compose up -d --force-recreate.

I keep my containers each in their own dir with a docker compose file with the volumes specified as ./volmedirname:/mountpointincontainer

Which makes it dead simple to write a bash script to go in to each dir, do a docker compose pull then bring everything up again. Extra points to call that script from cron.