Been using Gitea for about a week under docker and so far so good. One thing which wasn’t clear to me was how best to upgrade to a new tag. I understand this will vary depending on how Gitea is installed but it would be nice to see at least some basic advice either in the documentation or on the image README itself.
Here’s what I did to upgrade to the latest version, which probably wasn’t the best approach given it caused a few seconds of downtime:
docker-compose pull gitea docker-compose down gitea docker-compose rm gitea docker-compose up -d gitea
Is there a preferred way to manage upgrades while minimizing (or, better yet, eliminating) downtime during the upgrade process when using
docker-compose? For example, would it be wise (or even safe) to scale up a second gitea instance under a different docker process name to handle requests while performing the above tasks?
Given there could be cronjobs running when the container goes down or a write operation in progress it seems providing some guidance here and/or in the docs would be useful for mitigating future support requests.