Comment on How to manage docker compose apps?
SnotFlickerman@lemmy.blahaj.zone 1 week ago
In the docker folder with the docker-compose.yml:
docker compose pull && docker compose up -d
As others have said, for large groups of containers it’s helpful to use Watchtower.
Immich in particular warns to backup your database before an upgrade.
Oh and after upgrades to remove any dangling images which sometimes take up a lot of space:
docker image prune
sobchak@programming.dev 1 week ago
I think compose files are usually pinned to a version, or use a .env file that needs to be changed to update to a new version.
I personally don’t update very often; usually not until I’m forced to for some reason. I find that just checking the documentation for any upgrade/migration guides, and doing it manually is sufficient. I don’t expose this kind of stuff publicly; if I did, I’d probably update regularly.
SnotFlickerman@lemmy.blahaj.zone 1 week ago
Immich is a more touchy beast because it includes a mobile app and the mobile app and the docker container need to generally be either the same version, or within a few versions of one another. There was a while where I forgot to update the server for a while and the mobile app kept being updated on my phone and stopped backing up photos because it could no longer communicate with the server.