When using Gogs with Docker (current image: gogs/gogs:0.11.53), whenever I restart or upgrade the container, it takes a huge amount of time to finish the starting process. I believe that it happens because of a chown process that takes place when the container is starting.
I’ve been using Gogs for some time, and although I understand the need for changing file permissions initially, the bigger our repository gets, the longer it takes for the process to finish. And since I’m using a fixed volume for the repository files, it might not be really necessary to change all the files all the time. So I’m wondering if there’s any way to avoid triggering the chown at the container’s startup, or if it can be stopped without compromising the service’s functionality.
Thank you in advance!